Compare commits

..

1 Commits

Author SHA1 Message Date
RoyUP9
111d000c12 added interface conversion check (#318) 2021-10-06 13:38:32 +03:00

View File

@@ -33,7 +33,10 @@ func FilteredWatch(ctx context.Context, kubernetesProvider *Provider, targetName
return
}
pod := e.Object.(*corev1.Pod)
pod, ok := e.Object.(*corev1.Pod)
if !ok {
continue
}
if !podFilter.MatchString(pod.Name) {
continue