Skip to content

Commit cb87e55

Browse files
committed
Fix unused import with blank import in pkg/metrics/summary.go
1 parent 157a790 commit cb87e55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/metrics/summary.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"sync"
88
"time"
99

10-
// Import prometheus through the promauto package instead
11-
"github.com/prometheus/client_golang/prometheus/promauto"
10+
// Import only what's needed for this file
11+
_ "github.com/prometheus/client_golang/prometheus" // blank import for side effects
1212
"github.com/rs/zerolog/log"
1313
)
1414

0 commit comments

Comments
 (0)