Skip to content

Commit

Permalink
manager: fix typo (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhotonQuantum authored Mar 10, 2023
1 parent 8203a96 commit 68841ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ func (m *Manager) GetStatus() *Status {
for _, w := range m.workers {
wConfig := w.GetConfig()
wStatus := w.GetStatus()
if hidden, ok := wConfig["disabled"].(bool); ok && !hidden {
if hidden, ok := wConfig["hidden"].(bool); !(ok && hidden) {
status.WorkerStatus[wConfig["name"].(string)] = wStatus
}
}
Expand Down

0 comments on commit 68841ac

Please sign in to comment.