mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 12:54:01 +03:00
Update code to the latest golangci-lint
This commit is contained in:
+2
-3
@@ -119,11 +119,10 @@ func (p prometheusProcessor) EventReplayAttack(_ mtglib.EventReplayAttack) {
|
||||
}
|
||||
|
||||
func (p prometheusProcessor) Shutdown() {
|
||||
for _, v := range p.streams {
|
||||
for k, v := range p.streams {
|
||||
releaseStreamInfo(v)
|
||||
delete(p.streams, k)
|
||||
}
|
||||
|
||||
p.streams = make(map[string]*streamInfo)
|
||||
}
|
||||
|
||||
// PrometheusFactory is a factory of events.Observers which collect
|
||||
|
||||
Reference in New Issue
Block a user