fix boolean condition.
This commit is contained in:
parent
b6147fb27f
commit
83839362c5
2
extern/sector-storage/manager.go
vendored
2
extern/sector-storage/manager.go
vendored
@ -170,7 +170,7 @@ func New(ctx context.Context, lstor *stores.Local, stor *stores.Remote, ls store
|
|||||||
}
|
}
|
||||||
|
|
||||||
wcfg := WorkerConfig{
|
wcfg := WorkerConfig{
|
||||||
IgnoreResourceFiltering: sc.ResourceFiltering == ResourceFilteringHardware,
|
IgnoreResourceFiltering: sc.ResourceFiltering == ResourceFilteringDisabled,
|
||||||
TaskTypes: localTasks,
|
TaskTypes: localTasks,
|
||||||
}
|
}
|
||||||
worker := NewLocalWorker(wcfg, stor, lstor, si, m, wss)
|
worker := NewLocalWorker(wcfg, stor, lstor, si, m, wss)
|
||||||
|
Loading…
Reference in New Issue
Block a user