You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// We can safely suppress unsupported network policy because re-Queuing will result in same error
290
-
klog.Warningf("NetworkPolicy %s in namespace %s is not translated because it has unsupported translated features of Windows.", netPolObj.ObjectMeta.Name, netPolObj.ObjectMeta.Namespace)
291
-
// consider a no-op since we the policy is unsupported. The exec time here isn't important either.
288
+
ifisUnsupportedWindowsTranslationErr(err) {
289
+
klog.Warningf("NetworkPolicy %s in namespace %s is not translated because it has unsupported translated features of Windows: %s",
// We can safely suppress unsupported network policy because re-Queuing will result in same error.
293
+
// The exec time isn't relevant here, so consider a no-op.
292
294
returnmetrics.NoOp, nil
293
295
}
296
+
294
297
klog.Errorf("Failed to translate podSelector in NetworkPolicy %s in namespace %s: %s", netPolObj.ObjectMeta.Name, netPolObj.ObjectMeta.Namespace, err.Error())
295
-
// consider a no-op since we can't translate. The exec time here isn't important either.
298
+
// The exec time isn't relevant here, so consider a no-op.
0 commit comments