Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

add info to help clarify success after warnings #629

Merged
merged 4 commits into from
Mar 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/deployment/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,12 @@ def add_application_password(app_object_id: UUID) -> Tuple[str, str]:
wait_duration = 10
while count < tries:
count += 1
bmc-msft marked this conversation as resolved.
Show resolved Hide resolved
if count > 1:
logging.info("retrying app password creation")
try:
return add_application_password_impl(app_object_id)
password = add_application_password_impl(app_object_id)
logging.info("app password created")
return password
except GraphQueryError as err:
error = err
# modeled after AZ-CLI's handling of missing application
Expand Down