mirror of
https://github.com/safing/portbase
synced 2025-09-01 18:19:57 +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.
|
// Propagate failure status.
|
||||||
if failureUpdateNotifyFuncReady.IsSet() {
|
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.
|
// Only use data in worker that won't change anymore.
|
||||||
failureUpdateNotifyFunc(FailureNone, resolveFailureID, "", "")
|
failureUpdateNotifyFunc(FailureNone, resolveFailureID, "", "")
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Add table
Reference in a new issue