]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
restful: Fix jsonification
authorBoris Ranto <branto@redhat.com>
Mon, 30 Oct 2017 14:43:38 +0000 (15:43 +0100)
committerBoris Ranto <branto@redhat.com>
Tue, 31 Oct 2017 11:51:45 +0000 (12:51 +0100)
commit7005c6c0f68d82776c11cdfdd1a56e06f27d5e66
tree44731d66d2e9426ae711dc4757b8e6b08eef5a21
parentb4ffd03ca32697bf88ccc1e1b9c83c57ce4d14d0
restful: Fix jsonification

The CommandsRequest.waiting is an array of arrays, not an array of
command results and so it cannot be represented that way. This commit
fixes that by outputting the array in json diretly.

Signed-off-by: Boris Ranto <branto@redhat.com>
src/pybind/mgr/restful/module.py