Fix watcher/conf/applier.py default worker value
The default value of worker should be int type. Change-Id: Ie2aa0c34ffbb7fa86154cc5c8ce2c365579d3fb1
This commit is contained in:
@@ -24,7 +24,7 @@ watcher_applier = cfg.OptGroup(name='watcher_applier',
|
|||||||
|
|
||||||
APPLIER_MANAGER_OPTS = [
|
APPLIER_MANAGER_OPTS = [
|
||||||
cfg.IntOpt('workers',
|
cfg.IntOpt('workers',
|
||||||
default='1',
|
default=1,
|
||||||
min=1,
|
min=1,
|
||||||
required=True,
|
required=True,
|
||||||
help='Number of workers for applier, default value is 1.'),
|
help='Number of workers for applier, default value is 1.'),
|
||||||
|
|||||||
Reference in New Issue
Block a user