Fix manager->get_auth_provider interface

Tempest is defining stable interface of service clients
handling in lib but need to maintain the old interface
tempest.manager.get_auth_provider() as it is used by many
plugins and provide them a grace period to move to
stable interface.

This interface got broken while doing service clients work.
This patch fixing the same and fix gate for plugin using
this unstable interface.

Change-Id: I5733f20f5fba3c1aa1318405f5af976513eebf14
This commit is contained in:
ghanshyam 2016-08-08 13:29:25 +09:00
parent e07579c603
commit 9d7bac448a
1 changed files with 2 additions and 2 deletions

View File

@ -58,5 +58,5 @@ def get_auth_provider(credentials, pre_auth=False, scope='project'):
"as such it should not imported directly. It will be removed as "
"the client manager becomes available in tempest.lib.")
LOG.warning(msg)
return clients.get_auth_provider(credentials=credentials,
pre_auth=pre_auth, scope=scope)
return tempest_clients.get_auth_provider(credentials=credentials,
pre_auth=pre_auth, scope=scope)