From afc459758e1500885705695e25c24dbe6887cb25 Mon Sep 17 00:00:00 2001 From: Ismo Puustinen Date: Tue, 20 Feb 2018 12:25:27 +0200 Subject: [PATCH] hack/lib/util.sh: remove shadowed case statements. The topmost case statements shadow those coming after them. Since they are never run, remove them. --- hack/lib/util.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/hack/lib/util.sh b/hack/lib/util.sh index f65a7d00140..d88787be51d 100755 --- a/hack/lib/util.sh +++ b/hack/lib/util.sh @@ -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" ;;