Skip to content

Commit 9769f8e

Browse files
Code review changes: improving cleanup info message
1 parent 67f3d72 commit 9769f8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linodecli/plugins/obj/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ def _cleanup_keys(client: CLI, options) -> None:
649649
cleanup_message = (
650650
"Cleaning up old linode-cli generated Object Storage keys."
651651
)
652-
if not options.force_key_cleanup:
652+
if not options.force_key_cleanup and not options.key_cleanup_enabled:
653653
cleanup_message += (
654654
" To disable this, use the '--key-cleanup-enabled no' option."
655655
)

0 commit comments

Comments
 (0)