Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yutongzhang-microsoft committed Dec 13, 2024
1 parent f2061b1 commit b250fbd
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def get_access_token():
while az_login_attempts < MAX_GET_TOKEN_RETRY_TIMES:
try:
result = os.popen(az_login_cmd)
print(result.read())
break
except Exception as exception:
az_login_attempts += 1
Expand All @@ -47,7 +46,6 @@ def get_access_token():
try:
result = os.popen(get_token_cmd)
access_token = result.read()
print(access_token)
if not access_token:
raise Exception("Parse token from stdout failed, accessToken is None.")

Expand Down

0 comments on commit b250fbd

Please sign in to comment.