Skip to content

Commit 67ad4b0

Browse files
committed
added limits to 500 metrics queries
1 parent f3842e7 commit 67ad4b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ func validateMetricsQueries(c *config.All) {
243243

244244
// TODO: Allow more that 500 metrics queries and remove it
245245
if len(c.MetricDataQueries) > appMaxMetricsQueries {
246-
log.Fatal("You have defined %v metrics queries, the limits is %v", len(c.MetricDataQueries), appMaxMetricsQueries)
246+
log.Fatalf("You have defined %v metrics queries, the limits is %v", len(c.MetricDataQueries), appMaxMetricsQueries)
247247
}
248248
}
249249

0 commit comments

Comments
 (0)