weak decode NetworkExtAttrs
diff --git a/openstack/networking/v2/extensions/provider/results.go b/openstack/networking/v2/extensions/provider/results.go
index 3453584..f07d628 100755
--- a/openstack/networking/v2/extensions/provider/results.go
+++ b/openstack/networking/v2/extensions/provider/results.go
@@ -73,7 +73,7 @@
Network *NetworkExtAttrs `json:"network"`
}
- err := mapstructure.Decode(r.Body, &res)
+ err := mapstructure.WeakDecode(r.Body, &res)
return res.Network, err
}
@@ -89,7 +89,7 @@
Network *NetworkExtAttrs `json:"network"`
}
- err := mapstructure.Decode(r.Body, &res)
+ err := mapstructure.WeakDecode(r.Body, &res)
return res.Network, err
}
@@ -105,7 +105,7 @@
Network *NetworkExtAttrs `json:"network"`
}
- err := mapstructure.Decode(r.Body, &res)
+ err := mapstructure.WeakDecode(r.Body, &res)
return res.Network, err
}
@@ -118,7 +118,7 @@
Networks []NetworkExtAttrs `mapstructure:"networks" json:"networks"`
}
- err := mapstructure.Decode(page.(networks.NetworkPage).Body, &resp)
+ err := mapstructure.WeakDecode(page.(networks.NetworkPage).Body, &resp)
return resp.Networks, err
}