mirror of
https://github.com/safing/portbase
synced 2025-04-12 05:29:08 +00:00
Fix update cycle to notification attach to module
This commit is contained in:
parent
8421b8fba8
commit
f3591e81c3
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ func (m *Module) Resolve(failureID string) {
|
|||
|
||||
// Propagate failure status.
|
||||
if failureUpdateNotifyFuncReady.IsSet() {
|
||||
_ = m.RunWorker("failure status updater", func(context.Context) error {
|
||||
m.StartWorker("failure status updater", func(context.Context) error {
|
||||
// Only use data in worker that won't change anymore.
|
||||
failureUpdateNotifyFunc(FailureNone, resolveFailureID, "", "")
|
||||
return nil
|
||||
|
|
Loading…
Add table
Reference in a new issue