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

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")