← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~harlowja/cloud-init:fix-gce into cloud-init:master

 

Joshua Harlow has proposed merging ~harlowja/cloud-init:fix-gce into cloud-init:master.

Requested reviews:
  cloud init development team (cloud-init-dev)

For more details, see:
https://code.launchpad.net/~harlowja/cloud-init/+git/cloud-init/+merge/302350
-- 
Your team cloud init development team is requested to review the proposed merge of ~harlowja/cloud-init:fix-gce into cloud-init:master.
diff --git a/cloudinit/sources/DataSourceGCE.py b/cloudinit/sources/DataSourceGCE.py
index c660a35..6c12d70 100644
--- a/cloudinit/sources/DataSourceGCE.py
+++ b/cloudinit/sources/DataSourceGCE.py
@@ -31,7 +31,7 @@ REQUIRED_FIELDS = ('instance-id', 'availability-zone', 'local-hostname')
 
 
 class GoogleMetadataFetcher(object):
-    headers = {'X-Google-Metadata-Request': True}
+    headers = {'X-Google-Metadata-Request': 'True'}
 
     def __init__(self, metadata_address):
         self.metadata_address = metadata_address

Follow ups