Merge pull request #86416 from sshukun/fix-golint-failure

Fix golint failure not contained in .golint_failures
This commit is contained in:
Kubernetes Prow Robot 2019-12-20 18:27:59 -08:00 committed by GitHub
commit 3c854d6e84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ import (
// EmptyFields represents a set with no paths
// It looks like metav1.Fields{Raw: []byte("{}")}
var EmptyFields metav1.FieldsV1 = func() metav1.FieldsV1 {
var EmptyFields = func() metav1.FieldsV1 {
f, err := SetToFields(*fieldpath.NewSet())
if err != nil {
panic("should never happen")