Merge pull request #3131 from lwander/gce-fix-metadata

Brought GCE project metadata code up to spec with GCE API change
This commit is contained in:
Dave Cunningham 2015-09-08 15:51:25 -04:00
commit 455ba7bdb1
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ func resourceComputeProjectMetadataRead(d *schema.ResourceData, meta interface{}
newMD := make(map[string]interface{})
for _, kv := range md.Items {
newMD[kv.Key] = kv.Value
newMD[kv.Key] = *kv.Value
}
if err = d.Set("metadata", newMD); err != nil {