Fix undeclared golangci-lint warnings

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2020-02-25 17:27:12 +05:30 committed by mergify[bot]
parent c45c426215
commit 24405dc178
2 changed files with 7 additions and 8 deletions

View File

@ -14,14 +14,6 @@ import (
config "k8s.io/kubernetes/test/e2e/framework/config" config "k8s.io/kubernetes/test/e2e/framework/config"
) )
var (
deployTimeout int
deployCephFS bool
deployRBD bool
cephCSINamespace string
rookNamespace string
)
func init() { func init() {
log.SetOutput(GinkgoWriter) log.SetOutput(GinkgoWriter)

View File

@ -36,6 +36,13 @@ const (
) )
var ( var (
// cli flags
deployTimeout int
deployCephFS bool
deployRBD bool
cephCSINamespace string
rookNamespace string
vaultAddr = fmt.Sprintf("http://vault.%s.svc.cluster.local:8200", cephCSINamespace) vaultAddr = fmt.Sprintf("http://vault.%s.svc.cluster.local:8200", cephCSINamespace)
poll = 2 * time.Second poll = 2 * time.Second
) )