diff options
| author | Zuul <zuul@review.openstack.org> | 2017-12-05 14:06:43 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2017-12-05 14:06:43 +0000 |
| commit | cfa3e7d6791031d28ad5a57c03d6baf1e296846a (patch) | |
| tree | 0f47a60964704e22cbe2655092e41e5a3f8f8df5 | |
| parent | f0c539066f57e9d2ecd67273b96c7880e6c911a2 (diff) | |
| parent | 9cfd8533830fb2ad5a545ce4836c0800604d17fa (diff) | |
| download | kolla-cfa3e7d6791031d28ad5a57c03d6baf1e296846a.tar.gz kolla-cfa3e7d6791031d28ad5a57c03d6baf1e296846a.zip | |
Merge "Remove duplicated statement of parameter choices of config options"
| -rwxr-xr-x | kolla/common/config.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/kolla/common/config.py b/kolla/common/config.py index a625ff944..f7e3d1be3 100755 --- a/kolla/common/config.py +++ b/kolla/common/config.py @@ -180,8 +180,7 @@ hostarch = os.uname()[4] _CLI_OPTS = [ cfg.StrOpt('base', short='b', default='centos', choices=BASE_OS_DISTRO, - help='The distro type of the base image. Allowed values ' - 'are ' + ', '.join(BASE_OS_DISTRO)), + help='The distro type of the base image.'), cfg.StrOpt('base-tag', default='latest', help='The base distro image tag'), cfg.StrOpt('base-image', @@ -238,8 +237,7 @@ _CLI_OPTS = [ cfg.StrOpt('type', short='t', default='binary', choices=INSTALL_TYPE_CHOICES, dest='install_type', - help=('The method of the OpenStack install. Allowed values ' - 'are ' + ', '.join(INSTALL_TYPE_CHOICES))), + help=('The method of the OpenStack install.')), cfg.IntOpt('threads', short='T', default=8, min=1, help=('The number of threads to use while building.' ' (Note: setting to one will allow real time' |
