Fix Zaqar Client's service_type

Change-Id: I943894e9e23a5b36e9bd7fda7dad896a8687c2de
Closes-Bug: #1442489
This commit is contained in:
Sirushti Murugesan 2015-04-10 12:37:52 +05:30
parent 947aaf97da
commit 1a0e7bdc79

View File

@ -42,12 +42,12 @@ class ZaqarClientPlugin(client_plugin.ClientPlugin):
'os_auth_token': con.auth_token,
'os_auth_url': con.auth_url,
'os_project_id': con.tenant,
'os_service_type': 'queuing',
'os_service_type': 'messaging',
}
auth_opts = {'backend': 'keystone',
'options': 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)