]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/deepsea: use empty strings rather than None for option defaults
authorTim Serong <tserong@suse.com>
Thu, 14 Mar 2019 10:10:38 +0000 (21:10 +1100)
committerTim Serong <tserong@suse.com>
Tue, 2 Apr 2019 06:14:38 +0000 (17:14 +1100)
commite81f109bf93317b998d3ea31d64381d9f491a6ef
treeeb9051f7e1a99c0d491244ac40b32a038e5f9044
parent8b22f6a0d817d42a5d1a93a5d2b86854d409f73e
mgr/deepsea: use empty strings rather than None for option defaults

This makes the _config_valid() function work properly; the option
defaults are being strinified somewhere, so we need to use empty
strings rather than None (which becomes "None"), in order to check
if they're set or not.

Signed-off-by: Tim Serong <tserong@suse.com>
src/pybind/mgr/deepsea/module.py