Remove inaccurate comment
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Rob Watson 2022-06-14 18:05:36 +02:00
parent eeee9a8ab7
commit d8e57c3d0e
1 changed files with 1 additions and 3 deletions

View File

@ -83,9 +83,7 @@ func NewPodWatcher(client KubernetesClient, namespace string, container string,
} }
// WatchPods blocks while it watches the pods which match the Selector of the // WatchPods blocks while it watches the pods which match the Selector of the
// provided deployment. // provided resource.
//
// Cancelling ctx will result in the event loop exiting immediately.
func (pw *PodWatcher) WatchPods(ctx context.Context) error { func (pw *PodWatcher) WatchPods(ctx context.Context) error {
var wg sync.WaitGroup var wg sync.WaitGroup
err := pw.watchPods(ctx, &wg) err := pw.watchPods(ctx, &wg)