diff options
Diffstat (limited to 'src/rhctl/switch_control.go')
-rw-r--r-- | src/rhctl/switch_control.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rhctl/switch_control.go b/src/rhctl/switch_control.go index ca27b86..f52e9a2 100644 --- a/src/rhctl/switch_control.go +++ b/src/rhctl/switch_control.go @@ -63,6 +63,8 @@ type SwitchControl struct { func (ctrl *SwitchControl) handleCommand(cmd *Command) { switch cmd.Type { case CmdStatus: + case CmdServer: + case CmdSwitch: if len(cmd.Args) == 0 { rhl.Printf("SwitchCTRL: ignoring empty raw switch command") return @@ -74,8 +76,6 @@ func (ctrl *SwitchControl) handleCommand(cmd *Command) { } c.Response = cmd.Response ctrl.sw.Commands <- c - case CmdServer: - case CmdSwitch: } } |