]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
formattable: adjust array access interface
authorYehuda Sadeh <yehuda@redhat.com>
Mon, 8 Jan 2018 09:44:41 +0000 (01:44 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 12 Apr 2018 22:38:37 +0000 (15:38 -0700)
commitfeb67c9bd56b4e99a099ca0ba7a004aba934cb43
tree73f52f05ff330156f9c8452c372c0042dbce8a34
parent76b79cb8cb302fabaa1d4db022958009952f4a8b
formattable: adjust array access interface

appending new entry by providing empty index, setting existing entries
by providing negative index.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/common/ceph_json.cc
src/test/common/test_json_formattable.cc