mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-06 13:35:55 +02:00
Avoid vet warning: return copies lock value.
This commit is contained in:
parent
e7e51aa4fa
commit
ffa2701914
@ -91,12 +91,12 @@ type RuntimeConfig struct {
|
||||
}
|
||||
|
||||
func prepare_runcfg() RuntimeConfig {
|
||||
r := RuntimeConfig{}
|
||||
r.Router = nil
|
||||
r.CollectManager = nil
|
||||
r.SinkManager = nil
|
||||
r.ReceiveManager = nil
|
||||
return r
|
||||
return RuntimeConfig{
|
||||
Router: nil,
|
||||
CollectManager: nil,
|
||||
SinkManager: nil,
|
||||
ReceiveManager: nil,
|
||||
}
|
||||
}
|
||||
|
||||
//// Structure of the configuration file
|
||||
|
Loading…
x
Reference in New Issue
Block a user