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:
parent
fdb4aa0917
commit
700d0b4e92
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue