mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
fix golint failures of pkg/controller/namespace/deletion pkg/controller/serviceaccount
This commit is contained in:
@@ -213,7 +213,7 @@ func TestRetryOnConflictError(t *testing.T) {
|
||||
retryOnce := func(namespace *v1.Namespace) (*v1.Namespace, error) {
|
||||
numTries++
|
||||
if numTries <= 1 {
|
||||
return namespace, errors.NewConflict(api.Resource("namespaces"), namespace.Name, fmt.Errorf("ERROR!"))
|
||||
return namespace, errors.NewConflict(api.Resource("namespaces"), namespace.Name, fmt.Errorf("ERROR"))
|
||||
}
|
||||
return namespace, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user