1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2025-08-12 14:02:47 +03:00

Fix issues identified by the gometalinters.

This commit is contained in:
Will Rouesnel
2017-06-06 23:26:32 +10:00
parent 4477dfa9b3
commit 34ffcb449d
5 changed files with 127 additions and 116 deletions

View File

@@ -39,7 +39,7 @@ func (s *IntegrationSuite) SetUpSuite(c *C) {
prometheus.MustRegister(exporter)
}
// TODO: it would be nice if this didn't mostly just recreate the scrape function
// TODO: it would be nice if cu didn't mostly just recreate the scrape function
func (s *IntegrationSuite) TestAllNamespacesReturnResults(c *C) {
// Setup a dummy channel to consume metrics
ch := make(chan prometheus.Metric, 100)