mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-09-19 14:34:27 +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:
@@ -91,13 +91,11 @@ func WithInformer(getter InformerGetter, filter Filter, opt InformerOption) Opti
|
||||
if err != nil {
|
||||
tombstone, ok := obj.(cache.DeletedFinalStateUnknown)
|
||||
if !ok {
|
||||
//nolint: goerr113
|
||||
utilruntime.HandleError(fmt.Errorf("%s: could not get object from tombstone: %+v", c.Name(), obj))
|
||||
return
|
||||
}
|
||||
accessor, err = meta.Accessor(tombstone.Obj)
|
||||
if err != nil {
|
||||
//nolint: goerr113
|
||||
utilruntime.HandleError(fmt.Errorf("%s: tombstone contained object that is not an accessor: %+v", c.Name(), obj))
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user