Skip to content

Commit

Permalink
fix: item
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron <[email protected]>
  • Loading branch information
aarnphm committed Jul 20, 2023
1 parent 7d6f51f commit 32ceeb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bentoml_cli/cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ def login(shared_options: SharedOptions, endpoint: str, api_token: str) -> None:
raise CLIException("current organization is not found")

ctx = CloudClientContext(
name=shared_options.context
if shared_options.context is not None
name=shared_options.cloud_context
if shared_options.cloud_context is not None
else default_context_name,
endpoint=endpoint,
api_token=api_token,
Expand Down

0 comments on commit 32ceeb8

Please sign in to comment.