Skip to content

Commit

Permalink
refactor(tests): remove unused var (#578)
Browse files Browse the repository at this point in the history
Signed-off-by: aSquare14 <[email protected]>
  • Loading branch information
asquare14 authored and kmova committed May 10, 2021
1 parent 61b717b commit dfe4a13
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions integration_tests/k8s/k8sapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit dfe4a13

Please sign in to comment.