Fix bugs with refactoring

This commit is contained in:
2019-07-05 00:44:40 -04:00
parent 80ea54d40f
commit d755a80fe8
2 changed files with 2 additions and 3 deletions

View File

@ -1144,7 +1144,7 @@ def ceph_status():
zk_conn = pvc_common.startZKConnection(zk_host)
retcode, retdata = pvc_ceph.get_status(zk_conn)
if retdata:
if retcode:
pvc_ceph.format_status(retdata)
retdata = ''
cleanup(retcode, retdata, zk_conn)