Fix an issue in zun-api start

The profiler setup fails with NoSuchOptError for the host option.
The host config is not defined in DEFAULT group whereas it is
defined in API group.

Change-Id: Ib84f13ffbc23b9a64fac3f042f484e656d4ea0f0
This commit is contained in:
Madhuri Kumari 2017-03-27 22:00:41 +05:30
parent fdb4aa0917
commit 700d0b4e92
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ def main():
# base.zunObject.indirection_api = base.zunObjectIndirectionAPI()
# Setup OSprofiler for WSGI service
profiler.setup('zun-api', CONF.host)
profiler.setup('zun-api', CONF.api.host_ip)
# Build and start the WSGI app
launcher = zun_service.process_launcher()