Skip to content

Commit

Permalink
Correct the maintenance event types (#1830)
Browse files Browse the repository at this point in the history
TERMINATE_ON_HOST_MAINTENANCE is the correct value that customers should expect. SHUTDOWN_ON_HOST_MAINTENANCE has never been a valid event type.
  • Loading branch information
dwightjl authored and engelke committed Nov 20, 2018
1 parent 0fbfef2 commit c22840f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compute/metadata/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c22840f

Please sign in to comment.