]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/telemetry: Fix various issues
authorVolker Theile <vtheile@suse.com>
Thu, 3 Jan 2019 13:58:55 +0000 (14:58 +0100)
committerVolker Theile <vtheile@suse.com>
Thu, 3 Jan 2019 14:44:31 +0000 (15:44 +0100)
commit9de21d616554e8d256c653a9edfcc4df79e61d43
tree01ab621c9df7c190bd2224c8f8c689643a4fdfe0
parent5c71f5421c13f6e7ff2e82c8313b40a857d6ec36
mgr/telemetry: Fix various issues

- Set module config type to ``str``, otherwise default values are ``'None'`` (str) instead of ``None`` which will cause ``init_module_config`` to fail.
- RuntimeError does not format strings.

Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/telemetry/module.py