Brought metadata code up to spec with GCE API change

This commit is contained in:
Lars Wander 2015-08-31 14:43:45 -04:00
parent af5ae9b595
commit 3f4c451fe8
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 {