Skip to content

Commit e9e02be

Browse files
committed
Fix log formatting
1 parent 069ea0b commit e9e02be

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/framework/prometheus.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@ func (ins *PrometheusInstance) QueryWithCtx(ctx context.Context, query string) (
216216
}
217217

218218
if len(warnings) > 0 {
219-
slog.Info("Prometheus query returned warnings",
219+
slog.Info(
220+
"Prometheus query returned warnings",
220221
"query", query,
221222
"warnings", warnings,
222223
)
@@ -245,7 +246,8 @@ func (ins *PrometheusInstance) QueryRangeWithCtx(ctx context.Context, query stri
245246
}
246247

247248
if len(warnings) > 0 {
248-
slog.Info("Prometheus range query returned warnings",
249+
slog.Info(
250+
"Prometheus range query returned warnings",
249251
"query", query,
250252
"range", promRange,
251253
"warnings", warnings,

0 commit comments

Comments
 (0)