Fix trove schedule-list error
When I set parameter TROVE_BYPASS_URL in admin_openrc.sh,the cmd schedule-list return error message. Debug detail as follow: [root@trove ~]# trove --debug schedule-list rds-120 DEBUG (shell:754) HTTPClient object has no attribute username Change-Id: I09d1d65683409da38a299675d88b90b29e34ea78 Closes-Bug: #1677438
This commit is contained in:
parent
a397f72da4
commit
0b79fb0dd4
|
@ -119,9 +119,9 @@ class Backups(base.ManagerWithFind):
|
|||
tenant_name = self.api.client.auth._project_name
|
||||
else:
|
||||
auth_url = self.api.client.auth_url
|
||||
user = self.api.client.username
|
||||
user = self.api.client.user
|
||||
key = self.api.client.password
|
||||
tenant_name = self.api.client.tenant
|
||||
tenant_name = self.api.client.projectid
|
||||
|
||||
return mistral_client(auth_url=auth_url, username=user, api_key=key,
|
||||
project_name=tenant_name)
|
||||
|
|
Loading…
Reference in New Issue