layer1: remove old namespace watcher helpers
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user