]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
tools/ceph_objectstore_tool: destruct ObjectStore using unique_ptr<>
authorKefu Chai <kchai@redhat.com>
Thu, 27 May 2021 15:14:36 +0000 (23:14 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 27 May 2021 15:14:44 +0000 (23:14 +0800)
commitd5445b8f113797718a0dbb05e884a6bffbfed76a
tree2c3f402b03aa34b61da91e828f74e0a5a2a3cb1e
parentb04b2f4d2a2cae8f85a4db35216efe92c0b39484
tools/ceph_objectstore_tool: destruct ObjectStore using unique_ptr<>

before this change, cot never destructs the created ObjectStore
instances.

after this change, they are destructed upon returning from main().

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/tools/ceph_objectstore_tool.cc