Skip to content

Commit

Permalink
actually handle error
Browse files Browse the repository at this point in the history
Signed-off-by: everettraven <everettraven@gmail.com>
  • Loading branch information
everettraven committed Jan 30, 2024
1 parent a5c7cce commit 3583598
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/cmd/helm-operator/run/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ func run(cmd *cobra.Command, f *flags.Flags) {

configureWatchNamespaces(&options, log)
err = configureSelectors(&options, ws, options.Scheme)
if err != nil {
log.Error(err, "Failed to configure default selectors for caching")
os.Exit(1)
}
if options.NewClient == nil {
options.NewClient = client.New
}
Expand Down

0 comments on commit 3583598

Please sign in to comment.