Skip to content

Commit 0fdb3c5

Browse files
committed
Added support for click version 8
Signed-off-by: Adrián Tóth <[email protected]> Signed-off-by: Adrián Tóth <[email protected]>
1 parent ed9f755 commit 0fdb3c5

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
@@ -347,7 +347,7 @@ def cli(ctx, config_file, profile, cli_rc_file, request_id, region, endpoint, ce
347347
echo_help(ctx)
348348
sys.exit()
349349

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

0 commit comments

Comments
 (0)