Forgotten in the previous change to fix this as well
Change-Id: If0edf73c7e35528f0f128ae8c0851f0519af49b7
This commit is contained in:
parent
938bc4e11e
commit
c8cb196bfe
|
@ -18,7 +18,7 @@ from stevedore.extension import ExtensionManager
|
|||
from billingstack import exceptions
|
||||
from billingstack.openstack.common import log
|
||||
from billingstack.payment_gateway.base import Provider
|
||||
from billingstack.central.storage import get_connection
|
||||
from billingstack.storage.utils import get_connection
|
||||
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
@ -47,7 +47,7 @@ def _register(ep, context, conn):
|
|||
|
||||
|
||||
def register_providers(context):
|
||||
conn = get_connection()
|
||||
conn = get_connection('central')
|
||||
em = ExtensionManager(Provider.__plugin_ns__)
|
||||
em.map(_register, context, conn)
|
||||
|
||||
|
|
Loading…
Reference in New Issue