Remove inaccurate comment
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
eeee9a8ab7
commit
d8e57c3d0e
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue