Mock ntg search job info

This commit is contained in:
Bel LaPointe
2022-01-14 10:40:49 -05:00
parent 6f972d71ba
commit bda1fd6f15
6 changed files with 133 additions and 48 deletions

View File

@@ -294,9 +294,6 @@ func once() error {
func getJobs() ([]broker.Job, error) {
states := config.AllStates()
ntg := broker.NewNTGVision()
if config.Get().Brokers.NTG.Mock {
ntg = ntg.WithMock()
}
brokers := []broker.Broker{ntg}
jobs := []broker.Job{}
for _, broker := range brokers {