layer1: remove old namespace watcher helpers

This commit is contained in:
Naeel
2026-04-26 10:40:36 +03:00
parent 447133d5b2
commit d7497dcd34
4 changed files with 18 additions and 26 deletions
-8
View File
@@ -101,11 +101,3 @@ func StartNSWatcher(
logger.Info("router.NSWatcher: stopped")
})
}
func routerNSName(obj interface{}) string {
nsObj, ok := obj.(*corev1.Namespace)
if !ok {
return ""
}
return nsObj.Name
}