From bf28bc378fe265b8385eba0f949a67bd757847b4 Mon Sep 17 00:00:00 2001 From: Coleen Iona Quadros Date: Thu, 23 May 2024 14:45:00 +0200 Subject: [PATCH] refacter Signed-off-by: Coleen Iona Quadros --- tests/pkg/utils/mco_configmaps.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pkg/utils/mco_configmaps.go b/tests/pkg/utils/mco_configmaps.go index d5f7858ab..ac48179b4 100644 --- a/tests/pkg/utils/mco_configmaps.go +++ b/tests/pkg/utils/mco_configmaps.go @@ -12,7 +12,7 @@ import ( "k8s.io/klog" ) -func GetConfigMap(opt TestOptions, isHub bool, name string, +func GetConfigMap(clusterConfig Cluster, isHub bool, name string, namespace string) (error, *corev1.ConfigMap) { clientKube := getKubeClientForCluster(clusterConfig, isHub) cm, err := clientKube.CoreV1().ConfigMaps(namespace).Get(context.TODO(), name, metav1.GetOptions{})