From a669258688ecdade040a29777828f8d90ddcd56c Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Tue, 15 Feb 2022 08:45:20 +0100 Subject: [PATCH] cleanup: remove unused global variable in e2e Signed-off-by: Niels de Vos --- e2e/e2e_test.go | 1 - e2e/utils.go | 5 ----- 2 files changed, 6 deletions(-) diff --git a/e2e/e2e_test.go b/e2e/e2e_test.go index b7d39e917..b53f09ce5 100644 --- a/e2e/e2e_test.go +++ b/e2e/e2e_test.go @@ -72,5 +72,4 @@ func handleFlags() { framework.RegisterClusterFlags(flag.CommandLine) testing.Init() flag.Parse() - initResources() } diff --git a/e2e/utils.go b/e2e/utils.go index 70233cab0..5ab68a929 100644 --- a/e2e/utils.go +++ b/e2e/utils.go @@ -77,14 +77,9 @@ var ( cephCSINamespace string rookNamespace string radosNamespace string - ns string poll = 2 * time.Second ) -func initResources() { - ns = fmt.Sprintf("--namespace=%v", cephCSINamespace) -} - func getMons(ns string, c kubernetes.Interface) ([]string, error) { opt := metav1.ListOptions{ LabelSelector: "app=rook-ceph-mon",