Skip to content

Commit

Permalink
remove from namespaces blacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
sevennt committed Dec 17, 2018
1 parent 5f765a4 commit f9c0e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/handler/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f9c0e6c

Please sign in to comment.