mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| access_rule.py | ||
| application_credential.py | ||
| catalog.py | ||
| consumer.py | ||
| credential.py | ||
| domain.py | ||
| ec2creds.py | ||
| endpoint.py | ||
| endpoint_group.py | ||
| federation_protocol.py | ||
| group.py | ||
| identity_provider.py | ||
| implied_role.py | ||
| limit.py | ||
| mapping.py | ||
| policy.py | ||
| project.py | ||
| region.py | ||
| registered_limit.py | ||
| role.py | ||
| role_assignment.py | ||
| service.py | ||
| service_provider.py | ||
| tag.py | ||
| token.py | ||
| trust.py | ||
| unscoped_saml.py | ||
| user.py | ||