Skip to content

Commit

Permalink
chore: pkg imported more than once (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill authored Jul 28, 2023
1 parent 09e62d9 commit 923bdd4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"github.com/sirupsen/logrus"
v1 "k8s.io/api/core/v1"

corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

"k8s.io/client-go/kubernetes"
Expand Down Expand Up @@ -133,7 +132,7 @@ func getPodEvents(
}

// GetNodes gets a list of nodes
func GetNodes(c kubernetes.Interface) (*corev1.NodeList, error) {
func GetNodes(c kubernetes.Interface) (*v1.NodeList, error) {
return c.CoreV1().
Nodes().
List(context.TODO(), metav1.ListOptions{})
Expand Down

0 comments on commit 923bdd4

Please sign in to comment.