fix custom configuration file path

The parameter [] is not None, so when we specified a custom configuration
file(such as '/my/etc/cloudkitty/cloudkitty.conf' not the default
'/etc/cloudkitty/cloudkitty.conf'), it didn't work, the cloudkitty still
load the default configuration file. We need to set the parameter to None.

Change-Id: Id1ac4378cff618d418b9fb92c4b21e6f322d9250
Closes-Bug: #1735966
This commit is contained in:
elnino09 2017-12-03 16:01:33 +08:00 committed by Luka Peschke
parent 2db75a1f01
commit 015482e632
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ def load_app():
def build_wsgi_app(argv=None):
service.prepare_service([])
service.prepare_service()
return load_app()