Commit afc45975 authored by Ismo Puustinen's avatar Ismo Puustinen

hack/lib/util.sh: remove shadowed case statements.

The topmost case statements shadow those coming after them. Since they are never run, remove them.
parent f0373068
...@@ -272,15 +272,9 @@ kube::util::group-version-to-pkg-path() { ...@@ -272,15 +272,9 @@ kube::util::group-version-to-pkg-path() {
meta/v1) meta/v1)
echo "vendor/k8s.io/apimachinery/pkg/apis/meta/v1" echo "vendor/k8s.io/apimachinery/pkg/apis/meta/v1"
;; ;;
meta/v1)
echo "../vendor/k8s.io/apimachinery/pkg/apis/meta/v1"
;;
meta/v1beta1) meta/v1beta1)
echo "vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1" echo "vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1"
;; ;;
meta/v1beta1)
echo "../vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1"
;;
unversioned) unversioned)
echo "pkg/api/unversioned" echo "pkg/api/unversioned"
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment