Making things consistent throughout the provider

This commit is contained in:
Sander van Harmelen 2014-12-25 22:58:17 +01:00
parent d4a343492f
commit 72fa547557
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