From f880f5db12692befe782dfddd1f9482ff3cb12c5 Mon Sep 17 00:00:00 2001 From: Dwight J Lyle Date: Fri, 9 Nov 2018 10:54:09 -0800 Subject: [PATCH] Correct the maintenance event types TERMINATE_ON_HOST_MAINTENANCE is the correct value that customers should expect. SHUTDOWN_ON_HOST_MAINTENANCE has never been a valid event type. --- compute/metadata/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compute/metadata/main.py b/compute/metadata/main.py index e9ad0149998a..455ec2a154da 100644 --- a/compute/metadata/main.py +++ b/compute/metadata/main.py @@ -57,7 +57,7 @@ def wait_for_maintenance(callback): else: # Possible events: # MIGRATE_ON_HOST_MAINTENANCE: instance will be migrated - # SHUTDOWN_ON_HOST_MAINTENANCE: instance will be shut down + # TERMINATE_ON_HOST_MAINTENANCE: instance will be shut down maintenance_event = r.text if maintenance_event != last_maintenance_event: