Skip to content

Commit

Permalink
fix: cli fails when listing providers [DET-10127] (#8903)
Browse files Browse the repository at this point in the history
  • Loading branch information
eecsliu authored Feb 29, 2024
1 parent 9e8cd68 commit 63adae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harness/determined/cli/sso.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def list_providers(args: Namespace) -> None:
except KeyError:
raise EnterpriseOnlyError("No SSO providers data")

if len(sso_providers) == 0:
if not sso_providers:
print("No SSO providers found.")
return

Expand Down

0 comments on commit 63adae5

Please sign in to comment.