diff --git a/runtime/kubernetes/kubernetes.go b/runtime/kubernetes/kubernetes.go index 6de713bb..c26e2984 100644 --- a/runtime/kubernetes/kubernetes.go +++ b/runtime/kubernetes/kubernetes.go @@ -38,8 +38,6 @@ func (k *kubernetes) namespaceExists(name string) (bool, error) { return false, err } k.namespaces = namespaceList.Items - fmt.Println("HERE") - fmt.Println(k.namespaces) } // check if the namespace exists in the cache diff --git a/util/kubernetes/client/client.go b/util/kubernetes/client/client.go index 60e48aab..1518ba13 100644 --- a/util/kubernetes/client/client.go +++ b/util/kubernetes/client/client.go @@ -191,11 +191,7 @@ func (c *client) List(r *Resource, opts ...ListOption) error { o(&options) } - labels := map[string]string{ - "micro": "service", - } - - return c.Get(r, GetLabels(labels), GetNamespace(options.Namespace)) + return c.Get(r, GetNamespace(options.Namespace)) } // Watch returns an event stream