Merge pull request #715 from svanharmelen/f-provider-cloudstack-tweak
provider/cloudstack: making things consistent throughout the provider
This commit is contained in:
commit
a305d48320
|
@ -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