log because i think i deploy bad
parent
fa4dd1a518
commit
bee6fcfc8d
3
main.go
3
main.go
|
|
@ -316,11 +316,14 @@ func getJobs() ([]broker.Job, error) {
|
|||
states := config.AllStates()
|
||||
brokers := []broker.Broker{}
|
||||
if config.Get().Brokers.NTG.Enabled {
|
||||
logtr.Debugf("NTG enabled")
|
||||
brokers = append(brokers, broker.NewNTGVision())
|
||||
}
|
||||
if config.Get().Brokers.FastExact.Enabled {
|
||||
logtr.Debugf("FastExact enabled")
|
||||
brokers = append(brokers, broker.NewFastExact())
|
||||
}
|
||||
logtr.Debugf("brokers=%+v", brokers)
|
||||
jobs := []broker.Job{}
|
||||
for _, broker := range brokers {
|
||||
somejobs, err := broker.Search(states)
|
||||
|
|
|
|||
Loading…
Reference in New Issue