summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-09-29 21:50:37 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-09-29 21:50:37 (GMT)
commit1882192bc53cd131571658efbd0f46348168872f (patch)
tree88afbabe6d1e11bb68c5d6bf591a18e53977ac71 /src
parent17a799044bc20d18a07bbd12270ce3c079799dd9 (diff)
don't switch to mood nervous if just channel is wrong
Diffstat (limited to 'src')
-rw-r--r--src/rhctl/switch_control.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rhctl/switch_control.go b/src/rhctl/switch_control.go
index 200bae7..64da3c4 100644
--- a/src/rhctl/switch_control.go
+++ b/src/rhctl/switch_control.go
@@ -306,13 +306,10 @@ func (ctrl *SwitchControl) reconcile(requestedServer string) (result bool) {
}
} else {
if s.Channel != swch {
- // TODO: during normal operation switching server channels is expected and shouldn't lead to mood nervous?!?!?
- ctrl.state.Mood = MoodNervous
- rhl.Printf("SwitchCTRL: switch and server channel mismatch: '%s' != '%s' -> now in mood: %s", swch, s.Channel, ctrl.state.Mood)
+ rhl.Printf("SwitchCTRL: switch and server channel mismatch: '%s' != '%s' -> switching...", swch, s.Channel)
if !ctrl.selectServer(ctrl.state.ActiveServer) {
ctrl.selectNextValidServer()
}
- return
}
}