project was not being referenced

This commit is contained in:
Hany Fahim 2015-10-05 19:06:50 -04:00
parent aa4cf423f7
commit b3bbba7767
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ func resourceCloudStackVPCRead(d *schema.ResourceData, meta interface{}) error {
p := cs.Address.NewListPublicIpAddressesParams()
p.SetVpcid(d.Id())
p.SetIssourcenat(true)
if project, ok := d.GetOk("project"); ok {
if _, ok := d.GetOk("project"); ok {
p.SetProjectid(v.Projectid)
}