Fix module has no attribute 'parse_args'

Change: I469d4b6df49ad3489722feae0b795c20a6a3913b has added support
of deploying masakari with uwsgi. In this change the import in
masakari/cmd/api.py module is changed from *from masakari import
config* to *from masakari import config as api_config* but the
respective occurence of its use is not replaced with the new
module name i.e., api_config.

This patch fixes this issue by correcting the module name from
*config* to *api_config*.

Change-Id: Ib385a3599f2aafe5092f714fd5b761051c099069
Closes-Bug: #1774300
This commit is contained in:
dineshbhor 2018-05-30 17:57:16 -07:00
parent e92410fc9a
commit ddb0249b23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ def _get_config_files(env=None):
def main():
config.parse_args(sys.argv)
api_config.parse_args(sys.argv)
logging.setup(CONF, "masakari")
log = logging.getLogger(__name__)
objects.register_all()