Making things consistent throughout the provider
This commit is contained in:
parent
d4a343492f
commit
72fa547557
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue