Update portForward.go, watch.go, and mizu.go

This commit is contained in:
up9-github
2021-04-22 12:54:07 +03:00
parent 78f5a569c6
commit 3aeb8128c7
3 changed files with 11 additions and 6 deletions

View File

@@ -24,6 +24,7 @@ func FilteredWatch(ctx context.Context, watcher watch.Interface, podFilter *rege
if e.Object == nil {
errorChan <- errors.New("kubernetes pod watch failed")
return
}
pod := e.Object.(*corev1.Pod)