You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by zerthimon <gi...@git.apache.org> on 2014/04/28 16:23:37 UTC

[GitHub] libcloud pull request: [LIBCLOUD-544] GCE: fix adding node metadat...

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 <go...@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.
---

[GitHub] libcloud pull request: [LIBCLOUD-544] GCE: fix adding node metadat...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
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.
---