From dfe4a13a31cf3e30ecd3bdfe9328b2d6972b9057 Mon Sep 17 00:00:00 2001 From: Atibhi Agrawal Date: Fri, 7 May 2021 13:07:02 +0530 Subject: [PATCH] refactor(tests): remove unused var (#578) Signed-off-by: aSquare14 --- integration_tests/k8s/k8sapi.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/integration_tests/k8s/k8sapi.go b/integration_tests/k8s/k8sapi.go index c3a7aa1c7..5022d5955 100644 --- a/integration_tests/k8s/k8sapi.go +++ b/integration_tests/k8s/k8sapi.go @@ -42,7 +42,6 @@ const k8sReconcileTime = 10 * time.Second // with their status func (c K8sClient) ListPodStatus() (map[string]string, error) { pods := make(map[string]string) - podList := &corev1.PodList{} podList, err := c.ClientSet.CoreV1().Pods(Namespace).List(metav1.ListOptions{}) if err != nil { return nil, err @@ -57,7 +56,6 @@ func (c K8sClient) ListPodStatus() (map[string]string, error) { // their status func (c K8sClient) ListNodeStatus() (map[string]string, error) { nodes := make(map[string]string) - nodeList := &corev1.NodeList{} nodeList, err := c.ClientSet.CoreV1().Nodes().List(metav1.ListOptions{}) if err != nil { return nil, err