Skip to content

Commit 50ccb7c

Browse files
Apply suggestions from code review
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
1 parent 6f351d7 commit 50ccb7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/prometheusmetrics/prometheusmetrics.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,7 @@ func Experiments(_ slog.Logger, registerer prometheus.Registerer, exps []string,
532532
for _, enabled := range exps {
533533
if string(exp) == enabled {
534534
val = 1
535+
break
535536
}
536537
}
537538

0 commit comments

Comments
 (0)