]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/ConfigKeyService: dump: print placeholder value for binary blobs 21329/head
authorSage Weil <sage@redhat.com>
Tue, 10 Apr 2018 13:31:06 +0000 (08:31 -0500)
committerSage Weil <sage@redhat.com>
Wed, 11 Apr 2018 21:04:03 +0000 (16:04 -0500)
commit4669134b89ee1f7759fb59faef218da0880daa98
tree34449be4d87fe61d47577457163bfd05a49aa4aa
parent997aced8a211d2aa9867e2c13e9fb75b5d57b823
mon/ConfigKeyService: dump: print placeholder value for binary blobs

JSON cannot express arbitrary binary blobs.  Instead of outputting invalid
and unparseable JSON, represent the value of blobs as something like
'<<< binary blob of length 12 >>>'.

Fixes: http://tracker.ceph.com/issues/23622
Signed-off-by: Sage Weil <sage@redhat.com>
PendingReleaseNotes
src/mon/ConfigKeyService.cc