Fix client in TroveActions
Fixes the TroveActions to connect to the Trove v1 client. Also provides the required user/pass for the fake_client. Change-Id: I03503007a5bd71f3d58c8ad09b0eb5ffd3f9050a Closes-bug: 1585703
This commit is contained in:
parent
3023d4aca8
commit
18c6178c45
@ -31,7 +31,7 @@ from novaclient import client as novaclient
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log
|
||||
from swiftclient import client as swift_client
|
||||
from troveclient import client as troveclient
|
||||
from troveclient.v1 import client as troveclient
|
||||
from zaqarclient.queues.v2 import client as zaqarclient
|
||||
|
||||
from mistral.actions.openstack import base
|
||||
@ -320,7 +320,7 @@ class TroveAction(base.OpenStackAction):
|
||||
|
||||
@classmethod
|
||||
def _get_fake_client(cls):
|
||||
return cls._client_class()
|
||||
return cls._client_class("fake_user", "fake_passwd")
|
||||
|
||||
|
||||
class IronicAction(base.OpenStackAction):
|
||||
|
Loading…
Reference in New Issue
Block a user