From c8ba5219e305aa5b54fc012f8b5f8666cce9ded5 Mon Sep 17 00:00:00 2001 From: Nick Sardo Date: Wed, 19 Apr 2017 13:44:48 -0700 Subject: [PATCH] Another sleep for safety --- controllers/gce/cmd/mode-updater/mode-updater.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controllers/gce/cmd/mode-updater/mode-updater.go b/controllers/gce/cmd/mode-updater/mode-updater.go index c2ff8b675..9193f83c2 100644 --- a/controllers/gce/cmd/mode-updater/mode-updater.go +++ b/controllers/gce/cmd/mode-updater/mode-updater.go @@ -186,6 +186,8 @@ func updateMultipleBackends() { fmt.Println("\nStep 3: Migrate instances to temporary group") migrateInstances(instanceGroupName, instanceGroupTemp) + sleep(loadBalancerUpdateTime) + // Remove original backends to get rid of old balancing mode fmt.Println("\nStep 4: Update backend services to point only to temporary instance groups") setBackendsTo(false, "", true, balancingModeInverse(targetBalancingMode))