8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c9afb5f + 246c62f commit 286f457Copy full SHA for 286f457
manager/orchestrator/update/updater.go
@@ -280,6 +280,11 @@ slotsLoop:
280
wg.Wait()
281
282
if !stopped {
283
+ // if a delay is set we need to monitor for a period longer than the delay
284
+ // otherwise we will leave the monitorLoop before the task is done delaying
285
+ if updateConfig.Delay >= monitoringPeriod {
286
+ monitoringPeriod = updateConfig.Delay + 1*time.Second
287
+ }
288
// Keep watching for task failures for one more monitoringPeriod,
289
// before declaring the update complete.
290
doneMonitoring := time.After(monitoringPeriod)
0 commit comments