From c22840fd23586349b7b665d851dea046a94ba7c7 Mon Sep 17 00:00:00 2001 From: Dwight J Lyle Date: Tue, 20 Nov 2018 14:06:31 -0800 Subject: [PATCH] Correct the maintenance event types (#1830) 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: