mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
vendor updates
This commit is contained in:
3
vendor/k8s.io/apimachinery/pkg/fields/BUILD
generated
vendored
3
vendor/k8s.io/apimachinery/pkg/fields/BUILD
generated
vendored
@ -12,8 +12,7 @@ go_test(
|
||||
"fields_test.go",
|
||||
"selector_test.go",
|
||||
],
|
||||
importpath = "k8s.io/apimachinery/pkg/fields",
|
||||
library = ":go_default_library",
|
||||
embed = [":go_default_library"],
|
||||
)
|
||||
|
||||
go_library(
|
||||
|
2
vendor/k8s.io/apimachinery/pkg/fields/selector.go
generated
vendored
2
vendor/k8s.io/apimachinery/pkg/fields/selector.go
generated
vendored
@ -396,7 +396,7 @@ const (
|
||||
var termOperators = []string{notEqualOperator, doubleEqualOperator, equalOperator}
|
||||
|
||||
// splitTerm returns the lhs, operator, and rhs parsed from the given term, along with an indicator of whether the parse was successful.
|
||||
// no escaping of special characters is supported in the lhs value, so the first occurance of a recognized operator is used as the split point.
|
||||
// no escaping of special characters is supported in the lhs value, so the first occurrence of a recognized operator is used as the split point.
|
||||
// the literal rhs is returned, and the caller is responsible for applying any desired unescaping.
|
||||
func splitTerm(term string) (lhs, op, rhs string, ok bool) {
|
||||
for i := range term {
|
||||
|
Reference in New Issue
Block a user