Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmasi committed Jul 26, 2023
1 parent 246b458 commit ae375cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deploy/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ func (d *Deployment) Deploy(ctx context.Context, kubecfg string) (rerr error) {
rerr = w.Cleanup(rerr)
}()
}
// Watch for incoming events to fail early in case of events signaling unrecoverable errors.
if w, err := events.NewWatcher(ctx, kClient, cancel); err != nil {
log.Warningf("Failed to start event watcher: %v", err)
} else {
Expand Down

0 comments on commit ae375cb

Please sign in to comment.