]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: add JSONFormatterFile class
authorPatrick Donnelly <pdonnell@redhat.com>
Sat, 17 Feb 2024 15:22:29 +0000 (10:22 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 20 Mar 2024 14:56:50 +0000 (10:56 -0400)
commit8928a1266fc6bc492dac34253edb36c045e491e5
tree412ea8fc2dc3706538b0941c2c622416f7577c6d
parent770ab517c2b05045c09af3d0a56b6446bd20bb58
common: add JSONFormatterFile class

To stream JSON to a file for collection (for testing).  The idea here that
trying to send a very large JSON result over `ceph tell` is best to be avoided.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/common/Formatter.cc
src/common/Formatter.h