Skip to content

Commit c22840f

Browse files
dwightjlengelke
authored andcommitted
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.
1 parent 0fbfef2 commit c22840f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compute/metadata/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def wait_for_maintenance(callback):
5757
else:
5858
# Possible events:
5959
# MIGRATE_ON_HOST_MAINTENANCE: instance will be migrated
60-
# SHUTDOWN_ON_HOST_MAINTENANCE: instance will be shut down
60+
# TERMINATE_ON_HOST_MAINTENANCE: instance will be shut down
6161
maintenance_event = r.text
6262

6363
if maintenance_event != last_maintenance_event:

0 commit comments

Comments
 (0)