diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-04-03 19:07:57 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-04-03 19:07:57 (GMT) |
commit | 862c7ec9d37221b04943272f8c69f62e43cafcd2 (patch) | |
tree | f4dad570b8d1637564a91168a92302180acff5a7 /src/rhctl/telnet.go | |
parent | 52b261e874e27172c0d0afb9a66a3e8946c0b32a (diff) |
parsing switch updates works now
Diffstat (limited to 'src/rhctl/telnet.go')
-rw-r--r-- | src/rhctl/telnet.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rhctl/telnet.go b/src/rhctl/telnet.go index 4735956..2623602 100644 --- a/src/rhctl/telnet.go +++ b/src/rhctl/telnet.go @@ -111,6 +111,12 @@ func telnetUpdateListener(c *telgo.Client, ctrl *SwitchControl) { ctrl.Updates.Unsub(ch) return } + case SwitchState: + //state := data.(SwitchState) + // TODO: implement this + case State: + //state := data.(State) + // TOOD: implement this default: if !c.Sayln("unknown update of type: %T", data) { ctrl.Updates.Unsub(ch) |