diff --git a/monasca_log_api/app/wsgi.py b/monasca_log_api/app/wsgi.py index c20497c4..3bfcad6c 100644 --- a/monasca_log_api/app/wsgi.py +++ b/monasca_log_api/app/wsgi.py @@ -18,13 +18,6 @@ Use this file for deploying the API under mod_wsgi. from paste import deploy - -def main(): - base_dir = '/etc/monasca/' - conf = '%slog-api-paste.ini' % base_dir - app = deploy.loadapp('config:%s' % conf) - return app - - -if __name__ == '__main__': - application = main() +base_dir = '/etc/monasca/' +conf = '%slog-api-paste.ini' % base_dir +application = deploy.loadapp('config:%s' % conf) diff --git a/monasca_log_api_tempest/README.md b/monasca_log_api_tempest/README.md index 3efa1353..657a9794 100644 --- a/monasca_log_api_tempest/README.md +++ b/monasca_log_api_tempest/README.md @@ -118,7 +118,7 @@ Tempest root dir. 7. Install the monasca-log-api in your venv, which will also register the Monasca Log Api Tempest Plugin as, monasca_log_api_tempest. - cd into the monasa-log-api root directory. Making sure that the tempest + cd into the monasca-log-api root directory. Making sure that the tempest virtual env is still active, run the following command. ```