Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
nicmorales9 committed Feb 19, 2024
1 parent b4a879e commit ba82c9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions kubectl-fdb/cmd/k8s_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,9 +386,7 @@ func fetchPodNamesCrossCluster(kubeClient client.Client, namespace string, clust
}
return nil, err
}
for _, podName := range pods {
podsByCluster[cluster] = append(podsByCluster[cluster], podName)
}
podsByCluster[cluster] = append(podsByCluster[cluster], pods...)
}
return podsByCluster, nil
}
Expand Down

0 comments on commit ba82c9c

Please sign in to comment.