Lint code
This commit is contained in:
parent
875fd778e1
commit
b7b41248cb
7 changed files with 8 additions and 15 deletions
|
|
@ -52,11 +52,9 @@ func (s *statsCollector) stop(sm statusModule) {
|
|||
case defaultStatusModule:
|
||||
s.basic.Stop()
|
||||
prometheus.Unregister(s.basic)
|
||||
break
|
||||
case vtsStatusModule:
|
||||
s.vts.Stop()
|
||||
prometheus.Unregister(s.vts)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue