Skip to content

Commit

Permalink
fix npe
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin committed Nov 17, 2023
1 parent 3c2446c commit 23a7d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func NewSentryWatcher(
return nil, fmt.Errorf("failed to get in cluster config: %w", err)
}
// creates the clientset
clientset, err := kubernetes.NewForConfig(config)
clientset, err = kubernetes.NewForConfig(config)
if err != nil {
return nil, fmt.Errorf("failed to create kube clientset: %w", err)
}
Expand Down

0 comments on commit 23a7d31

Please sign in to comment.