From 129e7c9488e84a2dd983c15d4cf3cb42f1aa846d Mon Sep 17 00:00:00 2001 From: up9-github Date: Thu, 22 Apr 2021 13:19:43 +0300 Subject: [PATCH] Update watch.go --- cli/kubernetes/watch.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cli/kubernetes/watch.go b/cli/kubernetes/watch.go index b37289063..9d914d4e5 100644 --- a/cli/kubernetes/watch.go +++ b/cli/kubernetes/watch.go @@ -9,9 +9,6 @@ import ( "k8s.io/apimachinery/pkg/watch" ) -// FilteredWatch starts listening to Kubernetes events and emits modified -// containers/pods. The first result is targets added, the second is targets -// removed func FilteredWatch(ctx context.Context, watcher watch.Interface, podFilter *regexp.Regexp) (chan *corev1.Pod, chan *corev1.Pod, chan *corev1.Pod, chan error) { addedChan := make(chan *corev1.Pod) modifiedChan := make(chan *corev1.Pod)