From 23442a4da628832c4cad903fb3cd21061546dd2a Mon Sep 17 00:00:00 2001 From: zhuzeyu Date: Tue, 17 Jan 2017 18:00:22 +0800 Subject: [PATCH] Modify the field in tox.ini We use 'genconfig' field to generate configuration file generally. TrivialFix Change-Id: I152613103594dd7bcbc8b7f53a12e223a25bb051 --- doc/source/deploy/configuration.rst | 2 +- etc/watcher/README-watcher.conf.txt | 2 +- tox.ini | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/deploy/configuration.rst b/doc/source/deploy/configuration.rst index 38a9cada5..e1d4eb9aa 100644 --- a/doc/source/deploy/configuration.rst +++ b/doc/source/deploy/configuration.rst @@ -169,7 +169,7 @@ these following commands:: $ git clone git://git.openstack.org/openstack/watcher $ cd watcher/ - $ tox -econfig + $ tox -e genconfig $ vi etc/watcher/watcher.conf.sample diff --git a/etc/watcher/README-watcher.conf.txt b/etc/watcher/README-watcher.conf.txt index dc45112ae..59373b847 100644 --- a/etc/watcher/README-watcher.conf.txt +++ b/etc/watcher/README-watcher.conf.txt @@ -1,4 +1,4 @@ To generate the sample watcher.conf file, run the following command from the top level of the watcher directory: -tox -econfig \ No newline at end of file +tox -e genconfig diff --git a/tox.ini b/tox.ini index 7aec349e4..bd45fc882 100644 --- a/tox.ini +++ b/tox.ini @@ -40,7 +40,7 @@ commands = [testenv:debug] commands = oslo_debug_helper -t watcher/tests {posargs} -[testenv:config] +[testenv:genconfig] sitepackages = False commands = oslo-config-generator --config-file etc/watcher/watcher-config-generator.conf