We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68b3ce3 commit 09210ecCopy full SHA for 09210ec
functions/v2/label_gce_instance/main.py
@@ -76,7 +76,7 @@ def label_gce_instance(cloudevent):
76
77
# Perform instance-labeling API call
78
try:
79
- instances_client.set_labels(request)
+ instances_client.set_labels_unary(request)
80
print(f'Labelled VM instance {instance_name} with creator: {creator}')
81
except GoogleAPIError as e:
82
# Swallowing the exception means failed invocations WON'T be retried
functions/v2/label_gce_instance/requirements.txt
@@ -1 +1 @@
1
-google-cloud-compute==0.8.0
+google-cloud-compute==0.9.0
0 commit comments