Repository: libcloud
Updated Branches:
  refs/heads/trunk f4dde7bbd -> 746e21819


GCE: fix GCE internal auth

Signed-off-by: Tomaz Muraus <to...@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 <erjoh...@google.com>
Authored: Mon Oct 27 18:53:29 2014 +0000
Committer: Tomaz Muraus <to...@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

Reply via email to