mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
hack/lib/util.sh: remove shadowed case statements.
The topmost case statements shadow those coming after them. Since they are never run, remove them.
This commit is contained in:
parent
f03730682c
commit
afc459758e
@ -272,15 +272,9 @@ kube::util::group-version-to-pkg-path() {
|
||||
meta/v1)
|
||||
echo "vendor/k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
;;
|
||||
meta/v1)
|
||||
echo "../vendor/k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
;;
|
||||
meta/v1beta1)
|
||||
echo "vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1"
|
||||
;;
|
||||
meta/v1beta1)
|
||||
echo "../vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1"
|
||||
;;
|
||||
unversioned)
|
||||
echo "pkg/api/unversioned"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user