From a5b59a402263121468a5eba79973055430ed6119 Mon Sep 17 00:00:00 2001 From: Hung-Ting Wen Date: Wed, 6 Nov 2019 21:17:27 -0800 Subject: [PATCH] Fix var name error Related: #4442 Sorry the var names are wrong... --- testing/gcp_util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/gcp_util.py b/testing/gcp_util.py index d22ac029709..82c052fa639 100644 --- a/testing/gcp_util.py +++ b/testing/gcp_util.py @@ -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: