]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: Temporary fix for alienstore which doesn't support asok commands yet
authorDavid Zafman <dzafman@redhat.com>
Thu, 22 Oct 2020 16:15:40 +0000 (16:15 +0000)
committerDavid Zafman <dzafman@redhat.com>
Wed, 11 Nov 2020 23:10:11 +0000 (15:10 -0800)
Signed-off-by: David Zafman <dzafman@redhat.com>
src/common/admin_socket.cc

index 33c528801ded2252e08c68642c412662f1d82715..95a1efc54e66ff2c8743b65f766fcbe6591b1908 100644 (file)
@@ -631,7 +631,9 @@ public:
     } else {
       f->open_object_section("version");
       if (command == "version") {
+#ifndef WITH_ALIEN
        f->dump_string("version", ceph_version_to_str(nullptr));
+#endif
        f->dump_string("release", ceph_release_to_str());
        f->dump_string("release_type", ceph_release_type());
       } else if (command == "git_version") {