diff --git a/pkg/api/object.go b/pkg/api/object.go index 3a2488bc90..e32b5ecc2d 100644 --- a/pkg/api/object.go +++ b/pkg/api/object.go @@ -444,7 +444,7 @@ func getTrafficController(super *supervisor.Supervisor) *trafficcontroller.Traff return tc } -func (s *Server) _listAllNamespace() map[string][]*supervisor.Spec { +func (s *Server) _listAllNamespaces() map[string][]*supervisor.Spec { tc := getTrafficController(s.super) if tc == nil { return nil