From 03dbef8931c8108dbba3a5e0420e46127678241a Mon Sep 17 00:00:00 2001 From: Silvin Lubecki Date: Tue, 2 Apr 2019 16:21:48 +0200 Subject: [PATCH] cli/command/trust/sign_test.go:119:70: unnecessary conversion (unconvert) Signed-off-by: Silvin Lubecki (cherry picked from commit 0153624a56ef3267e7fb6d52a1affe562cd86157) Signed-off-by: Sebastiaan van Stijn --- cli/command/trust/sign_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/command/trust/sign_test.go b/cli/command/trust/sign_test.go index 31a56ea120..f197c7f599 100644 --- a/cli/command/trust/sign_test.go +++ b/cli/command/trust/sign_test.go @@ -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)