cloudstack: cs_portforward: fix public_end_port was used for private_end_port

reviewable/pr18780/r1
Rene Moser 9 years ago
parent 591c22b18f
commit 6c9410dce9

@ -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