Skip to content

Commit 9a40753

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Use project_domain_id only in password auth"
2 parents 0ef8535 + e51a8d6 commit 9a40753

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

openstackclient/common/client_config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def _auth_default_domain(self, config):
151151
# present, then do not change the behaviour. Otherwise, set the
152152
# PROJECT_DOMAIN_ID to 'OS_DEFAULT_DOMAIN' for better usability.
153153
if (
154+
auth_type in ("password", "v3password", "v3totp") and
154155
not config['auth'].get('project_domain_id') and
155156
not config['auth'].get('project_domain_name')
156157
):

0 commit comments

Comments
 (0)