fix boolean condition.

This commit is contained in:
Raúl Kripalani 2021-06-21 20:35:51 +01:00
parent b6147fb27f
commit 83839362c5

View File

@ -170,7 +170,7 @@ func New(ctx context.Context, lstor *stores.Local, stor *stores.Remote, ls store
}
wcfg := WorkerConfig{
IgnoreResourceFiltering: sc.ResourceFiltering == ResourceFilteringHardware,
IgnoreResourceFiltering: sc.ResourceFiltering == ResourceFilteringDisabled,
TaskTypes: localTasks,
}
worker := NewLocalWorker(wcfg, stor, lstor, si, m, wss)