From: Michael Fritch Date: Wed, 6 Nov 2019 14:00:26 +0000 (-0700) Subject: ceph-daemon: fix traceback during `ls` command X-Git-Tag: v15.1.0~1019^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F31439%2Fhead;p=ceph.git ceph-daemon: fix traceback during `ls` command fixup for 3a1ac3ff6ac2ef6e3e8c361c0c55562b732b9aac Signed-off-by: Michael Fritch --- diff --git a/src/ceph-daemon b/src/ceph-daemon index c77f0554de3..04275a9907e 100755 --- a/src/ceph-daemon +++ b/src/ceph-daemon @@ -1297,11 +1297,11 @@ def command_unit(): ################################## def command_ls(): - host_version = None ls = list_daemons() print(json.dumps(ls, indent=4)) def list_daemons(): + host_version = None ls = [] # /var/lib/ceph