diff options
Diffstat (limited to 'src/rhctl/switch_control.go')
-rw-r--r-- | src/rhctl/switch_control.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rhctl/switch_control.go b/src/rhctl/switch_control.go index 463c97e..2864cc9 100644 --- a/src/rhctl/switch_control.go +++ b/src/rhctl/switch_control.go @@ -127,9 +127,9 @@ func (ctrl *SwitchControl) reconcile(requestedServer string) (result bool) { rhdl.Printf("SwitchCTRL: reconciling state... (requested server: '%s')", requestedServer) // TODO: set mood dependent on overall-state - // TODO: send out commands to switch, server to get missing infos + // TODO: send out commands to switch and/or server to get missing infos - // TODO: change active server it fails or on request + // TODO: change active server if it fails or on request // return true if requested server got selected // TODO: change switch output mappings if servers change channels or fail @@ -154,7 +154,7 @@ func (ctrl *SwitchControl) Run() { } ctrl.Updates.Pub(update, "switch:"+update.Type.String()) case state := <-ctrl.sw.StateChanges: - rhdl.Printf("got switch state update: %+v", state) + // rhdl.Printf("got switch state update: %+v", state) ctrl.Updates.Pub(state, "switch:state") ctrl.state.Switch = state ctrl.reconcile("") |