Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5af3bac

Browse filesBrowse files
djmailhotengelke
authored andcommitted
Remove comments about possible maintenance events during live migration (GoogleCloudPlatform#1906)
The comments do not match up with the published documentation which states that only the MIGRATE_ON_HOST_MAINTENANCE event will ever be published for a host to receive. (https://cloud.google.com/compute/docs/storing-retrieving-metadata#maintenanceevents)
1 parent aae2eae commit 5af3bac
Copy full SHA for 5af3bac

File tree

Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed

‎compute/metadata/main.py

Copy file name to clipboardExpand all lines: compute/metadata/main.py
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ def wait_for_maintenance(callback):
5555
if r.text == 'NONE':
5656
maintenance_event = None
5757
else:
58-
# Possible events:
59-
# MIGRATE_ON_HOST_MAINTENANCE: instance will be migrated
60-
# TERMINATE_ON_HOST_MAINTENANCE: instance will be shut down
6158
maintenance_event = r.text
6259

6360
if maintenance_event != last_maintenance_event:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.