]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/controllers/health.py
import quincy beta 17.1.0
[ceph.git] / ceph / src / pybind / mgr / dashboard / controllers / health.py
index ed7e575de63c2ae80999a2ae74ec7bfc980b0212..992b2bc0277b50d8db6b6a6e7aaa6598e4dfe951 100644 (file)
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-from __future__ import absolute_import
 
 import json
 
@@ -249,7 +248,7 @@ class HealthData(object):
         if self._minimal:
             osd_map = partial_dict(osd_map, ['osds'])
             osd_map['osds'] = [
-                partial_dict(item, ['in', 'up'])
+                partial_dict(item, ['in', 'up', 'state'])
                 for item in osd_map['osds']
             ]
         else: