From f9c0e6c46cf0234335cd33682436f47088a4891a Mon Sep 17 00:00:00 2001 From: sevennt Date: Mon, 17 Dec 2018 22:37:55 +0800 Subject: [PATCH] remove from namespaces blacklist --- src/api/handler/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/handler/service.go b/src/api/handler/service.go index b98488e36..46c1b7223 100644 --- a/src/api/handler/service.go +++ b/src/api/handler/service.go @@ -68,7 +68,7 @@ func Pods(c *gin.Context) { // Kubeinfo returns data like namespaces of Kubernetes. func Kubeinfo(c *gin.Context) { - var ns = service.ServiceInfo.Namespaces("").Exclude("kube-system", bootstrap.Args.IstioNamespace, bootstrap.Args.Namespace) + var ns = service.ServiceInfo.Namespaces("").Exclude("kube-system", bootstrap.Args.Namespace) var retNs = make([]string, 0, len(ns)) for _, n := range ns { retNs = append(retNs, n.Name)