libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [libcloud] Kami commented on a change in pull request #1485: Fixes request path for ex_set_image_labels()
Date Thu, 03 Sep 2020 10:49:40 GMT

Kami commented on a change in pull request #1485:
URL: https://github.com/apache/libcloud/pull/1485#discussion_r482885886



##########
File path: libcloud/compute/drivers/gce.py
##########
@@ -2080,7 +2080,7 @@ def ex_set_image_labels(self, image, labels):
             raise ValueError("Must specify a valid libcloud image object.")
         current_fp = image.extra['labelFingerprint']
         body = {'labels': labels, 'labelFingerprint': current_fp}
-        request = '/global/%s/setLabels' % (image.name)
+        request = '/global/images/%s/setLabels' % (image.name)

Review comment:
       Just adding this for reference here - https://cloud.google.com/compute/docs/reference/rest/v1/images/setLabels




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message