Skip to content

Commit dbd9407

Browse files
authored
Merge pull request #567 from europ/add_click_8_support
Added support for click version 8. Tested implementation internally in preview branch
2 parents c9f6373 + 0fdb3c5 commit dbd9407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oci_cli/cli_root.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def cli(ctx, config_file, profile, cli_rc_file, request_id, region, endpoint, ce
349349
echo_help(ctx)
350350
sys.exit()
351351

352-
if profile == Sentinel(DEFAULT_PROFILE):
352+
if str(profile) == str(Sentinel(DEFAULT_PROFILE)):
353353
# if --profile is not supplied, fallback accordingly:
354354
# - if OCI_CLI_PROFILE exists, use that
355355
# - if default_profile is specified in oci_cli_rc then use that

0 commit comments

Comments
 (0)