Skip to content

Commit

Permalink
keep only logs about received objects
Browse files Browse the repository at this point in the history
  • Loading branch information
den-is committed May 20, 2020
1 parent fb09435 commit a98996c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/kubernetes/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ func GetHostList(conn *kubernetes.Clientset, namespace *string, selector *string
pods := QueryPods(conn, namespace, selector)
pods_nodes := GetPodsNodes(conn, pods)

fmt.Printf("Got %d pods, running on %d nodes\n", len(pods.Items), len(*pods_nodes))
logging.LogWithFields(
logging.Fields{
"component": "kubernetes",
Expand All @@ -85,7 +84,6 @@ func GetHostList(conn *kubernetes.Clientset, namespace *string, selector *string

nodes := QueryNodes(conn, selector)

fmt.Printf("Got %d nodes\n", len(nodes.Items))
logging.LogWithFields(
logging.Fields{
"component": "kubernetes",
Expand Down

0 comments on commit a98996c

Please sign in to comment.