mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-02-04 12:02:36 +00:00
Disable the goerr113 linter.
This linter is nice in principle, but I've found it more annoying than helpful in practice. Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
@@ -93,7 +93,6 @@ func NewExampleCreatingController(
|
||||
}
|
||||
|
||||
if actualSecret.Annotations[api.ServiceUIDAnnotation] != string(service.UID) {
|
||||
//nolint: goerr113
|
||||
utilruntime.HandleError(fmt.Errorf("secret %s/%s does not have corresponding service UID %v", actualSecret.Namespace, actualSecret.Name, service.UID))
|
||||
return nil // drop from queue because we cannot safely update this secret
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user