Bump swarmkit to get fix for rollback

Signed-off-by: Adam Williams <awilliams@mirantis.com>
This commit is contained in:
Adam Williams 2021-09-22 11:21:01 -07:00
parent d24c6dc5cf
commit 5730c139f7
2 changed files with 6 additions and 1 deletions

View file

@ -142,7 +142,7 @@ github.com/gogo/googleapis 01e0f9cca9b92166042241267ee2
github.com/cilium/ebpf 1c8d4c9ef7759622653a1d319284a44652333b28
# cluster
github.com/docker/swarmkit c9afb5fd44bb419bae719f400f31671712bcb99e # bump_20.10
github.com/docker/swarmkit 286f4575a2d2853c1574e1be10eb1a2450692dfc # bump_20.10
github.com/gogo/protobuf 5628607bb4c51c3157aacc3a50f0ab707582b805 # v1.3.1
github.com/golang/protobuf 84668698ea25b64748563aa20726db66a6b8d299 # v1.3.5
github.com/cloudflare/cfssl 5d63dbd981b5c408effbb58c442d54761ff94fbd # 1.3.2

View file

@ -280,6 +280,11 @@ slotsLoop:
wg.Wait()
if !stopped {
// if a delay is set we need to monitor for a period longer than the delay
// otherwise we will leave the monitorLoop before the task is done delaying
if updateConfig.Delay >= monitoringPeriod {
monitoringPeriod = updateConfig.Delay + 1*time.Second
}
// Keep watching for task failures for one more monitoringPeriod,
// before declaring the update complete.
doneMonitoring := time.After(monitoringPeriod)