cloudstack: cs_portforward: fix public_end_port was used for private_end_port

pull/18777/head
Rene Moser 9 years ago committed by Matt Clay
parent 280086f230
commit 743ed1cd82

@ -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…
Cancel
Save