]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/os: fix formatting in AlienStore::get_attr().
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 31 May 2021 23:37:04 +0000 (23:37 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 1 Jun 2021 09:20:51 +0000 (09:20 +0000)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/os/alienstore/alien_store.cc

index 0480383c84beb611f568d1a8b9893384e682cabf..ccf5a22246b8d72c0e249fe8d140c2010332630f 100644 (file)
@@ -308,7 +308,7 @@ AlienStore::get_attr(CollectionRef ch,
       // to `std::string` for the sake of extending life-time not only of
       // a _ptr-to-data_ but _data_ as well. Otherwise we would run into a use-
       // after-free issue.
-      auto c =static_cast<AlienCollection*>(ch.get());
+      auto c = static_cast<AlienCollection*>(ch.get());
       return store->getattr(c->collection, oid, name.c_str(), value);
     }).then([oid, &value] (int r) -> get_attr_errorator::future<ceph::bufferlist> {
       if (r == -ENOENT) {