mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 16:29:21 +00:00
The notes are in reverse order
This commit is contained in:
parent
9075f53dca
commit
9915e89107
2
pkg/client/cache/store.go
vendored
Normal file → Executable file
2
pkg/client/cache/store.go
vendored
Normal file → Executable file
@ -99,7 +99,7 @@ func SplitMetaNamespaceKey(key string) (namespace, name string, err error) {
|
|||||||
// name only, no namespace
|
// name only, no namespace
|
||||||
return "", parts[0], nil
|
return "", parts[0], nil
|
||||||
case 2:
|
case 2:
|
||||||
// name and namespace
|
// namespace and name
|
||||||
return parts[0], parts[1], nil
|
return parts[0], parts[1], nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user