mirror of https://github.com/docker/cli.git
cli/command/trust/sign_test.go:119:70: unnecessary conversion (unconvert)
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
(cherry picked from commit 0153624a56
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
315715e145
commit
03dbef8931
|
@ -116,7 +116,7 @@ func TestGetOrGenerateNotaryKey(t *testing.T) {
|
|||
assert.Check(t, is.DeepEqual(rootKeyA.Public(), rootKeyB.Public()))
|
||||
|
||||
// Now also try with a delegation key
|
||||
releasesKey, err := getOrGenerateNotaryKey(notaryRepo, data.RoleName(trust.ReleasesRole))
|
||||
releasesKey, err := getOrGenerateNotaryKey(notaryRepo, trust.ReleasesRole)
|
||||
assert.NilError(t, err)
|
||||
assert.Check(t, releasesKey != nil)
|
||||
|
||||
|
|
Loading…
Reference in New Issue