Skip to content

Commit

Permalink
Fix var name error
Browse files Browse the repository at this point in the history
Related: kubeflow#4442 

Sorry the var names are wrong...
  • Loading branch information
gabrielwen authored Nov 7, 2019
1 parent 8affe2e commit a5b59a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/gcp_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ def basic_auth_is_ready(url, username, password, wait_min=15):
get_url,
verify=False)
except SSLError as e:
logging.warning("%s: Endpoint SSL handshake error: %s; request number: %s" % (url, e, num_req))
logging.warning("%s: Endpoint SSL handshake error: %s; request number: %s" % (url, e, req_num))
except ReqConnectionError:
logging.info(
"%s: Endpoint not ready, request number: %s" % (url, num_req))
"%s: Endpoint not ready, request number: %s" % (url, req_num))
if not resp or resp.status_code != 200:
logging.info("Basic auth login is not ready, request number %s: %s" % (req_num, get_url))
else:
Expand Down

0 comments on commit a5b59a4

Please sign in to comment.