openstack-python-openstackc.../openstackclient
Chaemin-Lim eea369e73c Fix incorrect warning with --password-prompt option
When creating a user with the --password-prompt option, a warning is
incorrectly displayed stating that no password was supplied, even though
a password was entered. This occurs because the code checks parsed_args.password
instead of the password variable that actually stores the prompted password.

This patch fixes the issue by checking the 'password' variable
instead of 'parsed_args.password' in the warning condition. A test
case has been added to verify that no warning is displayed when
using --password-prompt and entering a password.

Closes-Bug: #2091836
Change-Id: Ib3ddc7e400ee7988f605c00db534bccc3617d982
2025-05-19 16:12:06 +09:00
..
api pre-commit: Migrate pyupgrade to ruff 2024-09-12 18:08:23 +01:00
common compute: Migrate to 'compute' client alias 2025-04-03 16:39:03 +01:00
compute Merge "Don't warn about unsupported version with SDK-based commands" 2025-05-15 16:19:20 +00:00
identity Fix incorrect warning with --password-prompt option 2025-05-19 16:12:06 +09:00
image Don't warn about unsupported version with SDK-based commands 2025-04-10 18:21:17 +01:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2025-04-02 03:07:33 +00:00
network Don't warn about unsupported version with SDK-based commands 2025-04-10 18:21:17 +01:00
object Permit use of tuple API_VERSIONS 2025-04-01 10:36:02 +01:00
releasenotes/notes Show Created At column for volume backups 2024-05-19 22:17:06 +02:00
tests Fix incorrect warning with --password-prompt option 2025-05-19 16:12:06 +09:00
volume volume: Make better use of argparse 2025-04-04 18:11:27 +01:00
__init__.py Clean up W503 and E402 pep8 errors 2018-04-15 12:23:06 +09:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py Bump Python version used for linters to 3.10 2025-05-07 17:55:39 +01:00