fixed bug with initialization of queueconfig

QueueConfigs would only ever initialize to the default settings, and would not pick up their respective values from YAML.
This commit is contained in:
Tom Wiedenbein 2017-12-08 02:11:45 -08:00 committed by GitHub
parent e0d917e2f5
commit 937ac8c060
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@ func (s *Storage) ApplyConfig(conf *config.Config) error {
}
newQueues = append(newQueues, NewQueueManager(
s.logger,
config.DefaultQueueConfig,
rwConf.QueueConfig,
conf.GlobalConfig.ExternalLabels,
rwConf.WriteRelabelConfigs,
c,