mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-28 15:41:22 -07:00
Fix pep8 errors in bigip_monitor_tcp
This commit is contained in:
parent
b815a09529
commit
cc2fdb9d83
1 changed files with 12 additions and 6 deletions
|
@ -368,12 +368,18 @@ def main():
|
||||||
if port is None:
|
if port is None:
|
||||||
port = cur_ipport['ipport']['port']
|
port = cur_ipport['ipport']['port']
|
||||||
else: # use API defaults if not defined to create it
|
else: # use API defaults if not defined to create it
|
||||||
if interval is None: interval = 5
|
if interval is None:
|
||||||
if timeout is None: timeout = 16
|
interval = 5
|
||||||
if ip is None: ip = '0.0.0.0'
|
if timeout is None:
|
||||||
if port is None: port = 0
|
timeout = 16
|
||||||
if send is None: send = ''
|
if ip is None:
|
||||||
if receive is None: receive = ''
|
ip = '0.0.0.0'
|
||||||
|
if port is None:
|
||||||
|
port = 0
|
||||||
|
if send is None:
|
||||||
|
send = ''
|
||||||
|
if receive is None:
|
||||||
|
receive = ''
|
||||||
|
|
||||||
# define and set address type
|
# define and set address type
|
||||||
if ip == '0.0.0.0' and port == 0:
|
if ip == '0.0.0.0' and port == 0:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue