Fix id value reference

pull/18777/head
David Shrewsbury 10 years ago committed by Matt Clay
parent f02ec15c17
commit b42a9d56e6

@ -129,7 +129,7 @@ def main():
if not _get_rule_from_group(module, secgroup): if not _get_rule_from_group(module, secgroup):
_security_group_rule(module, nova_client, 'create', _security_group_rule(module, nova_client, 'create',
parent_group_id=secgroup.id, parent_group_id=secgroup['id'],
ip_protocol=module.params['protocol'], ip_protocol=module.params['protocol'],
from_port=module.params['port_range_min'], from_port=module.params['port_range_min'],
to_port=module.params['port_range_max'], to_port=module.params['port_range_max'],

Loading…
Cancel
Save