git » prometheus-expvar-exporter » commit 646edcd

Comment out Printf on unsupported structures

author Alberto Bertogli
2019-10-31 21:10:54 UTC
committer Alberto Bertogli
2019-10-31 21:10:54 UTC
parent e7717234ab5448d1741593f93aa02119f426ad26

Comment out Printf on unsupported structures

main.go +1 -1

diff --git a/main.go b/main.go
index f3e743a..3771ab5 100644
--- a/main.go
+++ b/main.go
@@ -162,7 +162,7 @@ func (c *Collector) Collect(ch chan<- prometheus.Metric) {
 			continue
 		default:
 			// TODO: support nested labels / richer structures?
-			fmt.Printf("XXX %q %#v\n", name, v)
+			//fmt.Printf("Not supported: %q %#v\n", name, v)
 			continue
 		}
 	}