Brought metadata code up to spec with GCE API change
This commit is contained in:
parent
af5ae9b595
commit
3f4c451fe8
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue