libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject git commit: GCE: fix GCE internal auth
Date Tue, 28 Oct 2014 09:29:53 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk f4dde7bbd -> 746e21819


GCE: fix GCE internal auth

Signed-off-by: Tomaz Muraus <tomaz@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/746e2181
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/746e2181
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/746e2181

Branch: refs/heads/trunk
Commit: 746e218191a2adf5789e436542a0f20cc664a9b8
Parents: f4dde7b
Author: Eric Johnson <erjohnso@google.com>
Authored: Mon Oct 27 18:53:29 2014 +0000
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Tue Oct 28 17:22:36 2014 +0800

----------------------------------------------------------------------
 libcloud/common/google.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/746e2181/libcloud/common/google.py
----------------------------------------------------------------------
diff --git a/libcloud/common/google.py b/libcloud/common/google.py
index 601d4e7..ebb9fdf 100644
--- a/libcloud/common/google.py
+++ b/libcloud/common/google.py
@@ -111,7 +111,7 @@ def _get_gce_metadata(path=''):
     try:
         url = "http://metadata/computeMetadata/v1/" + path.lstrip('/')
         headers = {'Metadata-Flavor': 'Google'}
-        response = get_response_object(url, headers)
+        response = get_response_object(url, headers=headers)
         return response.status, "", response.body
     except Exception as e:
         return -1, str(e), None


Mime
View raw message