Fix ignored parameters of aodh::auth
The aodh::auth class has been deprecated in favor of the new
aodh::service_credentials class but some of its parameters are ignored
because of the wrong parameter name.
This change fixes it and ensure all parameters are used even when
the deprecated class is used.
Change-Id: I887c7605eca21cb7269d4c0188378aabaeb03721
(cherry picked from commit 8c2a3a4322
)
This commit is contained in:
parent
26b04ed44f
commit
4551518ae1
@ -66,8 +66,8 @@ class aodh::service_credentials (
|
||||
}
|
||||
|
||||
$auth_url_real = pick($::aodh::auth::auth_url, $auth_url)
|
||||
$region_name_real = pick($::aodh::auth_region, $region_name)
|
||||
$username_real = pick($::aodh::auth_user, $username)
|
||||
$region_name_real = pick($::aodh::auth::auth_region, $region_name)
|
||||
$username_real = pick($::aodh::auth::auth_user, $username)
|
||||
$project_name_real = pick($::aodh::auth::auth_project_name, $project_name)
|
||||
$project_domain_name_real = pick($::aodh::auth::project_domain_name, $project_domain_name)
|
||||
$user_domain_name_real = pick($::aodh::auth::user_domain_name, $user_domain_name)
|
||||
|
Loading…
Reference in New Issue
Block a user