Merge "Fix Zaqar Client's service_type"

This commit is contained in:
Jenkins 2015-04-10 08:53:16 +00:00 committed by Gerrit Code Review
commit dd92a7b2bb
1 changed files with 2 additions and 2 deletions

View File

@ -42,12 +42,12 @@ class ZaqarClientPlugin(client_plugin.ClientPlugin):
'os_auth_token': con.auth_token, 'os_auth_token': con.auth_token,
'os_auth_url': con.auth_url, 'os_auth_url': con.auth_url,
'os_project_id': con.tenant, 'os_project_id': con.tenant,
'os_service_type': 'queuing', 'os_service_type': 'messaging',
} }
auth_opts = {'backend': 'keystone', auth_opts = {'backend': 'keystone',
'options': opts} 'options': opts}
conf = {'auth_opts': auth_opts} conf = {'auth_opts': auth_opts}
endpoint = self.url_for(service_type='queuing') endpoint = self.url_for(service_type='messaging')
client = zaqarclient.Client(url=endpoint, conf=conf) client = zaqarclient.Client(url=endpoint, conf=conf)