Update bigip_api method to use variable name server

This commit is contained in:
Michael Perzel 2015-07-04 07:51:19 -05:00 committed by Matt Clay
parent 6681a5b386
commit 21425f36ef

View file

@ -80,8 +80,8 @@ except ImportError:
else: else:
bigsuds_found = True bigsuds_found = True
def bigip_api(bigip, user, password): def bigip_api(server, user, password):
api = bigsuds.BIGIP(hostname=bigip, username=user, password=password) api = bigsuds.BIGIP(hostname=server, username=user, password=password)
return api return api
def get_wide_ip_lb_method(api, wide_ip): def get_wide_ip_lb_method(api, wide_ip):