Skip to content

Commit

Permalink
Fix err variable (#3576)
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme authored Jan 6, 2025
1 parent 01abcc3 commit cfb4b01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,9 @@ func main() {
os.Exit(1)
}

clientset, clientErr := kubernetes.NewForConfig(mgr.GetConfig())
clientset, err := kubernetes.NewForConfig(mgr.GetConfig())
if err != nil {
setupLog.Error(clientErr, "failed to create kubernetes clientset")
setupLog.Error(err, "failed to create kubernetes clientset")
}

ctx := ctrl.SetupSignalHandler()
Expand Down

0 comments on commit cfb4b01

Please sign in to comment.