]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/restful/module.py
update sources to 12.2.7
[ceph.git] / ceph / src / pybind / mgr / restful / module.py
index 6ce610b881f4d06d98ae0e25fca3e84721dfeb47..5125253e4667b246eff95d5a0e40a4933d662d52 100644 (file)
@@ -177,11 +177,10 @@ class CommandsRequest(object):
                 self.finished
             ),
             'waiting': map(
-                lambda x: {
-                    'command': x.command,
-                    'outs': x.outs,
-                    'outb': x.outb,
-                },
+                lambda x: map(
+                    lambda y: common.humanify_command(y),
+                    x
+                ),
                 self.waiting
             ),
             'failed': map(