]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Remove useless code. 20958/head
authorVolker Theile <vtheile@suse.com>
Mon, 19 Mar 2018 10:28:50 +0000 (11:28 +0100)
committerVolker Theile <vtheile@suse.com>
Mon, 19 Mar 2018 10:28:50 +0000 (11:28 +0100)
Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard/controllers/osd.py

index 24fca6d9828d572e2d2540b5e2a7d1a9bbb423e5..e847b1fd891408a9298e59518516b3de4aaf0d27 100644 (file)
@@ -76,7 +76,6 @@ class Osd(RESTController):
                          '')
         r, outb, outs = result.wait()
         if r != 0:
-            histogram = None
             logger.warning('Failed to load histogram for OSD %s', svc_id)
             logger.debug(outs)
             histogram = outs