Skip to content

Commit a41be43

Browse files
committed
Small fix.
1 parent 548134c commit a41be43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func main() {
140140
}
141141

142142
if cfg.prometheusEndpoint != "" {
143-
if perr := pushMetrics(ctx, cfg.prometheusEndpoint, cfg.prometheusJob); err != nil {
143+
if perr := pushMetrics(ctx, cfg.prometheusEndpoint, cfg.prometheusJob); perr != nil {
144144
log.Printf("main: failed to push metrics: %v", perr)
145145
recordError(errorCategoryMetricsPush)
146146
} else {

0 commit comments

Comments
 (0)