mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
Update to kube v1.17
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
327fcd1b1b
commit
3af1e26d7c
2
vendor/k8s.io/kubernetes/pkg/fieldpath/fieldpath.go
generated
vendored
2
vendor/k8s.io/kubernetes/pkg/fieldpath/fieldpath.go
generated
vendored
@ -46,7 +46,7 @@ func FormatMap(m map[string]string) (fmtStr string) {
|
||||
func ExtractFieldPathAsString(obj interface{}, fieldPath string) (string, error) {
|
||||
accessor, err := meta.Accessor(obj)
|
||||
if err != nil {
|
||||
return "", nil
|
||||
return "", err
|
||||
}
|
||||
|
||||
if path, subscript, ok := SplitMaybeSubscriptedPath(fieldPath); ok {
|
||||
|
Reference in New Issue
Block a user