cleanup: remove unused global variable in e2e

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2022-02-15 08:45:20 +01:00 committed by mergify[bot]
parent 26696b4979
commit a669258688
2 changed files with 0 additions and 6 deletions

View File

@ -72,5 +72,4 @@ func handleFlags() {
framework.RegisterClusterFlags(flag.CommandLine)
testing.Init()
flag.Parse()
initResources()
}

View File

@ -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",