From 92c39dd0abee2431bddb93aebfc2b4e42dba5825 Mon Sep 17 00:00:00 2001 From: Nassim 'Nass' Eddequiouaq Date: Sat, 9 Jun 2018 08:14:34 -0700 Subject: [PATCH] Fix removeSingleSigner description Signed-off-by: Nassim 'Nass' Eddequiouaq --- cli/command/trust/signer_remove.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/command/trust/signer_remove.go b/cli/command/trust/signer_remove.go index 5bd586c536..d4e8eec42b 100644 --- a/cli/command/trust/signer_remove.go +++ b/cli/command/trust/signer_remove.go @@ -76,8 +76,8 @@ func isLastSignerForReleases(roleWithSig data.Role, allRoles []client.RoleWithSi return counter < releasesRoleWithSigs.Threshold, nil } -// removeSingleSigner returns whether the signer has been removed during this operation and an error -// Note: the signer not being removed doesn't necessarily raise an error (eg. User saying "No" to the confirmation prompt) +// removeSingleSigner attempts to remove a single signer and returns whether signer removal happened. +// The signer not being removed doesn't necessarily raise an error e.g. user choosing "No" when prompted for confirmation. func removeSingleSigner(cli command.Cli, repoName, signerName string, forceYes bool) (bool, error) { ctx := context.Background() imgRefAndAuth, err := trust.GetImageReferencesAndAuth(ctx, nil, image.AuthResolver(cli), repoName)