Merge pull request #715 from svanharmelen/f-provider-cloudstack-tweak

provider/cloudstack: making things consistent throughout the provider
This commit is contained in:
Sander van Harmelen 2014-12-25 23:01:05 +01:00
commit a305d48320
1 changed files with 2 additions and 2 deletions

View File

@ -163,12 +163,12 @@ func resourceCloudStackPortForwardRead(d *schema.ResourceData, meta interface{})
privPort, err := strconv.Atoi(r.Privateport)
if err != nil {
return fmt.Errorf("Error converting private_port: %s", err)
return err
}
pubPort, err := strconv.Atoi(r.Publicport)
if err != nil {
return fmt.Errorf("Error converting public_port: %s", err)
return err
}
// Update the values