Use the right module

This commit is contained in:
Endre Karlson 2013-04-25 12:28:05 -07:00
parent 098689379c
commit f56c330fe4
2 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ from oslo.config import cfg
from billingstack.openstack.common import log as logging from billingstack.openstack.common import log as logging
from billingstack.openstack.common import service from billingstack.openstack.common import service
from billingstack import utils from billingstack import utils
from billingstack.central import service as central_service from billingstack.biller import service as biller_service
eventlet.monkey_patch() eventlet.monkey_patch()
@ -27,6 +27,6 @@ utils.read_config('billingstack', sys.argv)
logging.setup('billingstack') logging.setup('billingstack')
launcher = service.launch(central_service.Service(), launcher = service.launch(biller_service.Service(),
cfg.CONF['service:biller'].workers) cfg.CONF['service:biller'].workers)
launcher.wait() launcher.wait()

View File

@ -19,7 +19,7 @@ from oslo.config import cfg
from billingstack.openstack.common import log as logging from billingstack.openstack.common import log as logging
from billingstack.openstack.common import service from billingstack.openstack.common import service
from billingstack import utils from billingstack import utils
from billingstack.central import service as central_service from billingstack.collector import service as collector_service
eventlet.monkey_patch() eventlet.monkey_patch()
@ -27,6 +27,6 @@ utils.read_config('billingstack', sys.argv)
logging.setup('billingstack') logging.setup('billingstack')
launcher = service.launch(central_service.Service(), launcher = service.launch(collector_service.Service(),
cfg.CONF['service:collector'].workers) cfg.CONF['service:collector'].workers)
launcher.wait() launcher.wait()