mirror of https://github.com/docker/cli.git
Fix removeSingleSigner description
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com>
This commit is contained in:
parent
2b3361cc1a
commit
92c39dd0ab
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue