mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 23:14:02 -07:00
pep8 fixes
This commit is contained in:
parent
15560c9801
commit
caa07e7fab
3 changed files with 8 additions and 6 deletions
|
@ -161,7 +161,7 @@ def _create_floating_ip(quantum, module, port_id, net_id):
|
|||
result = quantum.create_floatingip({'floatingip': kwargs})
|
||||
except Exception as e:
|
||||
module.fail_json(msg="There was an error in updating the floating ip address: %s" % e.message)
|
||||
module.exit_json(changed=True, result=result, public_ip=result['floatingip']['floating_ip_address'] )
|
||||
module.exit_json(changed=True, result=result, public_ip=result['floatingip']['floating_ip_address'])
|
||||
|
||||
def _get_net_id(quantum, module):
|
||||
kwargs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue