summaryrefslogtreecommitdiff
path: root/src/rhctl/switch_control.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/rhctl/switch_control.go')
-rw-r--r--src/rhctl/switch_control.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rhctl/switch_control.go b/src/rhctl/switch_control.go
index 9fd55ea..985f8b3 100644
--- a/src/rhctl/switch_control.go
+++ b/src/rhctl/switch_control.go
@@ -227,7 +227,10 @@ func (ctrl *SwitchControl) selectNextValidServer() {
func (ctrl *SwitchControl) reconcile(requestedServer string) (result bool) {
if !ctrl.state.Settled {
- return
+ if requestedServer != "" {
+ rhl.Printf("SwitchCTRL: ignoreing preferred server requests while settling")
+ return
+ }
}
if len(ctrl.servers) < 1 {
ctrl.state.Mood = MoodHappy