lint: update some nolint comments:
``` cli/command/container/hijack.go:188:1⚠️ nolint directive did not match any issue (nolint) cli/command/image/trust.go:346:1⚠️ nolint directive did not match any issue (nolint) cli/command/manifest/push.go:211:1⚠️ nolint directive did not match any issue (nolint) cli/command/trust/signer_remove.go:79:1⚠️ nolint directive did not match any issue (nolint) internal/pkg/containerized/snapshot.go:95:1⚠️ nolint directive did not match any issue (nolint) internal/pkg/containerized/snapshot.go:138:1⚠️ nolint directive did not match any issue (nolint) ``` Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@ -78,7 +78,6 @@ func isLastSignerForReleases(roleWithSig data.Role, allRoles []client.RoleWithSi
|
||||
|
||||
// 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.
|
||||
// nolint: unparam
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user