Fix staticcheck failures in test/utils/...
The `err` return value was being overwritten in an unintended way, which means the function may not return the proper error value. This diff ensures it does.
This commit is contained in:
@@ -124,7 +124,6 @@ test/integration/serviceaccount
|
||||
test/integration/serving
|
||||
test/integration/ttlcontroller
|
||||
test/integration/volume
|
||||
test/utils
|
||||
vendor/k8s.io/apimachinery/pkg/api/meta
|
||||
vendor/k8s.io/apimachinery/pkg/api/resource
|
||||
vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured
|
||||
|
||||
Reference in New Issue
Block a user