libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zerthimon <...@git.apache.org>
Subject [GitHub] libcloud pull request: [LIBCLOUD-544] GCE: fix adding node metadat...
Date Mon, 28 Apr 2014 14:23:37 GMT
GitHub user zerthimon opened a pull request:

    https://github.com/apache/libcloud/pull/283

    [LIBCLOUD-544] GCE: fix adding node metadata at node creation

    Passing a simple metadata dict to create_node GCE driver method doesn't work.
    GCE api requires the following structure for metadata:
    metadata = {"items": [{"value": "val1", "key": "key1"}, {"value": "val2", "key": "key2"}]}
    
    This fix converts simple dict to what the API wants.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zerthimon/libcloud LIBCLOUD-544_metadata

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/libcloud/pull/283.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #283
    
----
commit 1d7fa2983f660ca0cb4d48a9bf420322b8b872ba
Author: Lior Goikhburg <goikhburg@gmail.com>
Date:   2014-04-28T14:18:27Z

    [LIBCLOUD-544] GCE: fix adding node metadata at node creation

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message