Fix pep8 E701 errors in bigip_monitor_http
This commit is contained in:
parent
a804c55c96
commit
d33d9ddba9
1 changed files with 14 additions and 7 deletions
|
@ -345,13 +345,20 @@ def main():
|
|||
if port is None:
|
||||
port = cur_ipport['ipport']['port']
|
||||
else: # use API defaults if not defined to create it
|
||||
if interval is None: interval = 5
|
||||
if timeout is None: timeout = 16
|
||||
if ip is None: ip = '0.0.0.0'
|
||||
if port is None: port = 0
|
||||
if send is None: send = ''
|
||||
if receive is None: receive = ''
|
||||
if receive_disable is None: receive_disable = ''
|
||||
if interval is None:
|
||||
interval = 5
|
||||
if timeout is None:
|
||||
timeout = 16
|
||||
if ip is None:
|
||||
ip = '0.0.0.0'
|
||||
if port is None:
|
||||
port = 0
|
||||
if send is None:
|
||||
send = ''
|
||||
if receive is None:
|
||||
receive = ''
|
||||
if receive_disable is None:
|
||||
receive_disable = ''
|
||||
|
||||
# define and set address type
|
||||
if ip == '0.0.0.0' and port == 0:
|
||||
|
|
Loading…
Reference in a new issue