From aaaa321d127e82b833efe679f829aa2b93e893f7 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 27 Jan 2021 12:31:13 +0800 Subject: [PATCH] mgr/zabbix: use "uint" for type of discovery_interval we only support following types: 'uint', 'int', 'str', 'float', 'bool', 'addr', 'addrvec', 'uuid', 'size', 'secs', see also str_to_type() Signed-off-by: Kefu Chai --- src/pybind/mgr/zabbix/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/zabbix/module.py b/src/pybind/mgr/zabbix/module.py index 1d55789f678d0..37f8b9ba39e8d 100644 --- a/src/pybind/mgr/zabbix/module.py +++ b/src/pybind/mgr/zabbix/module.py @@ -83,7 +83,7 @@ class Module(MgrModule): default=60), Option( name='discovery_interval', - type='count', + type='uint', default=100) ] -- 2.39.5