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>
This commit is contained in:
parent
f123e43c1f
commit
0153624a56
|
@ -116,7 +116,7 @@ func TestGetOrGenerateNotaryKey(t *testing.T) {
|
||||||
assert.Check(t, is.DeepEqual(rootKeyA.Public(), rootKeyB.Public()))
|
assert.Check(t, is.DeepEqual(rootKeyA.Public(), rootKeyB.Public()))
|
||||||
|
|
||||||
// Now also try with a delegation key
|
// 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.NilError(t, err)
|
||||||
assert.Check(t, releasesKey != nil)
|
assert.Check(t, releasesKey != nil)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue