Skip to content

Commit

Permalink
#440 - only log login status message when authenticating to a private…
Browse files Browse the repository at this point in the history
… cluster
  • Loading branch information
jpswinski committed Nov 2, 2024
1 parent 1dcf4a2 commit 751b9a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clients/python/sliderule/sliderule.py
Original file line number Diff line number Diff line change
Expand Up @@ -1255,7 +1255,8 @@ def authenticate (ps_organization, ps_username=None, ps_password=None, github_to
logger.error("Unable to authenticate %s user to %s" % (user, api))

# return login status
logger.info(f'Login status to {service_url}/{service_org}: {login_status and "success" or "failure"}')
if ps_organization != PUBLIC_ORG:
logger.info(f'Login status to {service_url}/{service_org}: {login_status and "success" or "failure"}')
return login_status

#
Expand Down

0 comments on commit 751b9a7

Please sign in to comment.