mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Merge pull request #86416 from sshukun/fix-golint-failure
Fix golint failure not contained in .golint_failures
This commit is contained in:
commit
3c854d6e84
@ -26,7 +26,7 @@ import (
|
|||||||
|
|
||||||
// EmptyFields represents a set with no paths
|
// EmptyFields represents a set with no paths
|
||||||
// It looks like metav1.Fields{Raw: []byte("{}")}
|
// It looks like metav1.Fields{Raw: []byte("{}")}
|
||||||
var EmptyFields metav1.FieldsV1 = func() metav1.FieldsV1 {
|
var EmptyFields = func() metav1.FieldsV1 {
|
||||||
f, err := SetToFields(*fieldpath.NewSet())
|
f, err := SetToFields(*fieldpath.NewSet())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic("should never happen")
|
panic("should never happen")
|
||||||
|
Loading…
Reference in New Issue
Block a user