mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
cleanup: remove unused global variable in e2e
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
26696b4979
commit
a669258688
@ -72,5 +72,4 @@ func handleFlags() {
|
||||
framework.RegisterClusterFlags(flag.CommandLine)
|
||||
testing.Init()
|
||||
flag.Parse()
|
||||
initResources()
|
||||
}
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user