diff options
| author | Bertrand Lallau <bertrand.lallau@thalesgroup.com> | 2017-09-21 15:55:54 +0200 |
|---|---|---|
| committer | Bertrand Lallau <bertrand.lallau@thalesgroup.com> | 2017-09-21 15:59:19 +0200 |
| commit | 85c5baf3ad949228f82e9d8c6a9483aadc838d7f (patch) | |
| tree | e1e5f8a186ee316ecdf26061cebe92e13a1e88d4 /kolla | |
| parent | b4490bf833a0be898158b71009d2f1a06e2be851 (diff) | |
| download | kolla-85c5baf3ad949228f82e9d8c6a9483aadc838d7f.tar.gz kolla-85c5baf3ad949228f82e9d8c6a9483aadc838d7f.zip | |
Fix warning during tox -e genconfig
uid and gid are defined in oslo.config as "String" but Integer is used
to declare like:
https://github.com/openstack/kolla/blob/master/kolla/common/config.py#L655
Closes-Bug: #1718102
Change-Id: I0a43aa0057ba15d989bc868fc60c88b085842da5
Diffstat (limited to 'kolla')
| -rwxr-xr-x | kolla/common/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kolla/common/config.py b/kolla/common/config.py index 2ba933a7e..e39583db7 100755 --- a/kolla/common/config.py +++ b/kolla/common/config.py @@ -955,8 +955,8 @@ def get_source_opts(type_=None, location=None, reference=None): def get_user_opts(uid, gid): return [ - cfg.StrOpt('uid', default=uid, help='The user id'), - cfg.StrOpt('gid', default=gid, help='The group id'), + cfg.IntOpt('uid', default=uid, help='The user id'), + cfg.IntOpt('gid', default=gid, help='The group id'), ] |
