summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-09-23 23:52:21 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-09-23 23:52:21 (GMT)
commitb4dc003dd206761f78c93e47353dc6f3921ae6d8 (patch)
treea50ab1639f55d4add5d5b93785518bec81e4ca82
parent22b7dea37af284d282ed6ade6068cad4f10f3b81 (diff)
fixed bug introduced by latest change
-rw-r--r--src/rhctl/switch_control.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rhctl/switch_control.go b/src/rhctl/switch_control.go
index 985f8b3..66a41bf 100644
--- a/src/rhctl/switch_control.go
+++ b/src/rhctl/switch_control.go
@@ -229,8 +229,8 @@ func (ctrl *SwitchControl) reconcile(requestedServer string) (result bool) {
if !ctrl.state.Settled {
if requestedServer != "" {
rhl.Printf("SwitchCTRL: ignoreing preferred server requests while settling")
- return
}
+ return
}
if len(ctrl.servers) < 1 {
ctrl.state.Mood = MoodHappy