]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/pybind/snap_schedule: return valid json for 'status' command 40157/head
authorSébastien Han <seb@redhat.com>
Wed, 17 Mar 2021 10:08:09 +0000 (11:08 +0100)
committerSébastien Han <seb@redhat.com>
Mon, 26 Apr 2021 06:57:31 +0000 (08:57 +0200)
commitbf115b49b93cec85ad4fe408d622e5d60d8fbd51
treed704ed54a8473b15617ba288f098d02aac6806be
parent74a7cdda6b4b3f310bdc845cc84bca11a7a0539c
mgr/pybind/snap_schedule: return valid json for 'status' command

The status should return a valid list, prior to this path the code was
only appending json blob next to each other resulting in an invalid
json. Now the blobs will be enclosed properly so a valid list is
returned.

Signed-off-by: Sébastien Han <seb@redhat.com>
src/pybind/mgr/snap_schedule/module.py