Fix whitespace

This commit is contained in:
Hany Fahim 2015-10-05 19:01:14 -04:00
parent d212b278a9
commit aa4cf423f7
1 changed files with 2 additions and 2 deletions

View File

@ -162,9 +162,9 @@ func resourceCloudStackVPCRead(d *schema.ResourceData, meta interface{}) error {
p.SetVpcid(d.Id())
p.SetIssourcenat(true)
if project, ok := d.GetOk("project"); ok {
p.SetProjectid(v.Projectid)
p.SetProjectid(v.Projectid)
}
l, e := cs.Address.ListPublicIpAddresses(p)
if (e == nil) && (l.Count == 1) {
d.Set("source_nat_ip", l.PublicIpAddresses[0].Ipaddress)