From 8984034378891a06dc6dd813c6aedfc57092d376 Mon Sep 17 00:00:00 2001 From: vishnuchalla Date: Mon, 21 Aug 2023 22:23:21 -0400 Subject: [PATCH] Fix linting errors --- cmd/kube-burner/kube-burner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kube-burner/kube-burner.go b/cmd/kube-burner/kube-burner.go index 7db6e883a..5dd0188ee 100644 --- a/cmd/kube-burner/kube-burner.go +++ b/cmd/kube-burner/kube-burner.go @@ -166,7 +166,7 @@ func destroyCmd() *cobra.Command { }, Args: cobra.NoArgs, Run: func(cmd *cobra.Command, args []string) { - listOptions := v1.ListOptions{LabelSelector: fmt.Sprintf("kube-burner-uuid=%s", uuid)} + listOptions := metav1.ListOptions{LabelSelector: fmt.Sprintf("kube-burner-uuid=%s", uuid)} clientSet, restConfig, err := config.GetClientSet(0, 0) if err != nil { log.Fatalf("Error creating clientSet: %s", err)