mirror of
https://github.com/safing/portbase
synced 2025-04-16 15:39:08 +00:00
Fix comment
This commit is contained in:
parent
a31d2c5e16
commit
1f542005cc
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ func (m *Module) InjectEvent(sourceEventName, targetModuleName, targetEventName
|
||||||
func (m *Module) runEventHook(hook *eventHook, event string, data interface{}) {
|
func (m *Module) runEventHook(hook *eventHook, event string, data interface{}) {
|
||||||
// check if source module is ready for handling
|
// check if source module is ready for handling
|
||||||
if m.Status() != StatusOnline {
|
if m.Status() != StatusOnline {
|
||||||
// target module has not yet fully started, wait until start is complete
|
// source module has not yet fully started, wait until start is complete
|
||||||
select {
|
select {
|
||||||
case <-m.StartCompleted():
|
case <-m.StartCompleted():
|
||||||
// continue with hook execution
|
// continue with hook execution
|
||||||
|
|
Loading…
Add table
Reference in a new issue