Commit 35dc7d23 by James Tanner

Fix pep8 E701 errors in bigip_monitor_http

parent d9f75ad2
...@@ -345,13 +345,20 @@ def main(): ...@@ -345,13 +345,20 @@ 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 receive_disable is None: receive_disable = '' 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 # define and set address type
if ip == '0.0.0.0' and port == 0: if ip == '0.0.0.0' and port == 0:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment