From 24405dc178a7f88c2f550ca041b192fd3b74137d Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Tue, 25 Feb 2020 17:27:12 +0530 Subject: [PATCH] Fix undeclared golangci-lint warnings Signed-off-by: Madhu Rajanna --- e2e/e2e_test.go | 8 -------- e2e/utils.go | 7 +++++++ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/e2e/e2e_test.go b/e2e/e2e_test.go index e47555f10..cdf34d0f8 100644 --- a/e2e/e2e_test.go +++ b/e2e/e2e_test.go @@ -14,14 +14,6 @@ import ( config "k8s.io/kubernetes/test/e2e/framework/config" ) -var ( - deployTimeout int - deployCephFS bool - deployRBD bool - cephCSINamespace string - rookNamespace string -) - func init() { log.SetOutput(GinkgoWriter) diff --git a/e2e/utils.go b/e2e/utils.go index 6a26f1bb4..5a616eedf 100644 --- a/e2e/utils.go +++ b/e2e/utils.go @@ -36,6 +36,13 @@ const ( ) var ( + // cli flags + deployTimeout int + deployCephFS bool + deployRBD bool + cephCSINamespace string + rookNamespace string + vaultAddr = fmt.Sprintf("http://vault.%s.svc.cluster.local:8200", cephCSINamespace) poll = 2 * time.Second )