diff options
-rw-r--r-- | src/rhctl/telnet.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rhctl/telnet.go b/src/rhctl/telnet.go index 9d41802..f872c79 100644 --- a/src/rhctl/telnet.go +++ b/src/rhctl/telnet.go @@ -74,8 +74,8 @@ func telnetCmdState(c *telgo.Client, args []string, ctrl *SwitchControl) bool { } } c.Sayln(" gpi: %s (last changed: %v ago)", genStateString(s.Switch.GPI[:]), time.Since(s.Switch.GPIChanged)) - c.Sayln(" relay: %s (last changed: %v ago)", genStateString(s.Switch.Relay[:]), time.Since(s.Switch.GPIChanged)) - c.Sayln(" oc: %s (last changed: %v ago)", genStateString(s.Switch.OC[:]), time.Since(s.Switch.GPIChanged)) + c.Sayln(" relay: %s (last changed: %v ago)", genStateString(s.Switch.Relay[:]), time.Since(s.Switch.RelayChanged)) + c.Sayln(" oc: %s (last changed: %v ago)", genStateString(s.Switch.OC[:]), time.Since(s.Switch.OCChanged)) c.Sayln("Server:") var names []string |