aitorzabala opened a new pull request #1354: [Bug fix] GCE Error setting/adding 
project metadata
URL: https://github.com/apache/libcloud/pull/1354
 
 
   ## [Bug fix] GCE provider validation error when setting project scope 
metadata
   
   ### Description
   A bug was detected when setting new metadata values into GCE project while 
using the GCE provider from libcloud "trunk" branch. Browsing through the code 
I noticed that arguments are not passed correctly to the gce driver (set common 
metadata), causing gce driver to return an error when setting metadata into a 
GCE project.
   
   Error:
   - ValueError: Unsupported metadata format.
   Solution:
   - Removed unnecessary "self" argument to ex_set_common_instance_metadata and 
included force argument, which was currently missing.
   
   ### Status
   - done, ready for review
   
   ### Checklist (tick everything that applies)
   
   - [X] [Code 
linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide)
 (required, can be done after the PR checks)
   - [X] Documentation
   - [X] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
   - [ ] 
[ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes)
 (required for bigger changes)
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to