Browse Source

Update comment

Matt Bolt 5 years ago
parent
commit
88fb1aaa8a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/prom/validate.go

+ 1 - 1
pkg/prom/validate.go

@@ -29,7 +29,7 @@ func Validate(cli prometheus.Client) (*PrometheusMetadata, error) {
 	return validate(cli, prometheusValidateQuery)
 }
 
-// validate runs prometheus
+// validate executes the prometheus query against the provided client.
 func validate(cli prometheus.Client, q string) (*PrometheusMetadata, error) {
 	ctx := NewContext(cli)