Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ggambetti committed Apr 14, 2022
1 parent 500c7d6 commit 3e16282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func UpdateFilterAndLabels(allow, block, allowedLabels, blockedLabels []string)
// This is intended for use immediately prior to application exit.
func Shutdown() {
m := globalMetrics.Load().(*Metrics)
// Replace global metrics with the BlackholeSink like how init setup the library.
// Replace global metrics with the BlackholeSink like how init setup the library.
globalMetrics.Store(&Metrics{sink: &BlackholeSink{}})
m.Shutdown()
}

0 comments on commit 3e16282

Please sign in to comment.