From 85c5baf3ad949228f82e9d8c6a9483aadc838d7f Mon Sep 17 00:00:00 2001 From: Bertrand Lallau Date: Thu, 21 Sep 2017 15:55:54 +0200 Subject: 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 --- kolla/common/config.py | 4 ++-- 1 file 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'), ] -- cgit v1.2.3