Fix error in Magnum-app

Magnum has changed its service name from 'containers' to 'container-infra'
which leads to failure of Magnum-app. So this fix changes the service
name in magnum_plugin.

Change-Id: If6a2d90e0f7071737ebdf722a565353a8b891d01
Closes-bug: #1595511
This commit is contained in:
Madhuri Kumari 2016-06-29 23:38:56 +05:30
parent 35b917f69e
commit 65902f9993

View File

@ -60,7 +60,7 @@ class MagnumClient(object):
def _create_magnum_client(region):
session = auth_utils.get_token_client_session(conf=CONF)
params = auth_utils.get_session_client_parameters(
service_type='container', region=region, conf=CONF,
service_type='container-infra', region=region, conf=CONF,
session=session)
return client.Client(**params)