cloudstack: cs_portforward: fix public_end_port was used for private_end_port
This commit is contained in:
parent
280086f230
commit
743ed1cd82
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ class AnsibleCloudStackPortforwarding(AnsibleCloudStack):
|
||||||
public_port = self.module.params.get('public_port')
|
public_port = self.module.params.get('public_port')
|
||||||
public_end_port = self.get_public_end_port()
|
public_end_port = self.get_public_end_port()
|
||||||
private_port = self.module.params.get('private_port')
|
private_port = self.module.params.get('private_port')
|
||||||
private_end_port = self.get_public_end_port()
|
private_end_port = self.get_private_end_port()
|
||||||
|
|
||||||
args = {}
|
args = {}
|
||||||
args['ipaddressid'] = self.get_ip_address(key='id')
|
args['ipaddressid'] = self.get_ip_address(key='id')
|
||||||
|
|
Loading…
Reference in a new issue