diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-04-02 23:52:24 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-04-02 23:52:24 (GMT) |
commit | 04a00559a15f3e94520c5ff26fc90f26b1a37707 (patch) | |
tree | 545a042023dfdde1ba853249f53dae113aa31619 /src/rhctl/switch_control.go | |
parent | 2f34a5e62285a3c5334c270c6111e43fc12e8dbf (diff) |
telnet state command almost done
Diffstat (limited to 'src/rhctl/switch_control.go')
-rw-r--r-- | src/rhctl/switch_control.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rhctl/switch_control.go b/src/rhctl/switch_control.go index 91cc161..523269f 100644 --- a/src/rhctl/switch_control.go +++ b/src/rhctl/switch_control.go @@ -113,6 +113,7 @@ type SwitchControl struct { func (ctrl *SwitchControl) handleCommand(cmd *Command) { switch cmd.Type { case CmdState: + cmd.Response <- ctrl.state case CmdServer: case CmdSwitch: if len(cmd.Args) == 0 { |