summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-09-24 13:09:20 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-09-24 13:09:20 (GMT)
commit2edea43c2abfd4f95291b0019c171cf212776477 (patch)
tree1bc840d6e3c592f028217f85a1ed928d997c8c99
parent1e775fc17c784d46ef1286db351ecfda5d212201 (diff)
log message when stale states are updated
-rw-r--r--src/rhctl/switch_control.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rhctl/switch_control.go b/src/rhctl/switch_control.go
index 71f2d69..27f97e1 100644
--- a/src/rhctl/switch_control.go
+++ b/src/rhctl/switch_control.go
@@ -339,6 +339,7 @@ func (ctrl *SwitchControl) Run() {
case <-staleTicker.C:
if ctrl.state.Settled { // better don't interfere with changes in progress
if ctrl.checkMissingOrStaleStates(ctrl.StatesMaxAge) {
+ rhdl.Printf("updateting stale states...")
ctrl.settling.Reset(ctrl.UpdateStatesSettlingTime)
ctrl.state.Settled = false
}