From ae375cb639cc992720bbf8e16e11e17d5389289c Mon Sep 17 00:00:00 2001 From: Alex Masi Date: Wed, 26 Jul 2023 22:23:30 +0000 Subject: [PATCH] Add comment --- deploy/deploy.go | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/deploy.go b/deploy/deploy.go index 07106b49..a8ce993d 100644 --- a/deploy/deploy.go +++ b/deploy/deploy.go @@ -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 {