refactor: extract path logic to path.go and run go fmt on codebase
This commit is contained in:
@@ -101,7 +101,7 @@ func (m *SystemWSManager) SubscribeEvents(bus *eventbus.EventBus) {
|
||||
constant.EventTaskRunning,
|
||||
constant.EventTaskQueued,
|
||||
}
|
||||
|
||||
|
||||
for _, evt := range taskEvents {
|
||||
bus.Subscribe(evt, func(e eventbus.Event) {
|
||||
m.Broadcast(e.Type, e.Payload)
|
||||
|
||||
Reference in New Issue
Block a user