]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/admin_socket: report error code as part of output string
authorSage Weil <sage@redhat.com>
Tue, 10 Sep 2019 15:21:39 +0000 (10:21 -0500)
committerSage Weil <sage@redhat.com>
Fri, 4 Oct 2019 14:07:02 +0000 (09:07 -0500)
commit7e84910cfbb2306254cb041f39da1dfcf966e585
tree42c63e64107aba1c311f2ad9939c5ac36747eefe
parent1e44d86b2c237239f97fa54fb7f79f9ddcd2c288
common/admin_socket: report error code as part of output string

This isn't ideal, but it's better than nothing.

Net behavior change here is that calling an non-existant command now
succeeds with an error message instead of exiting with an error code
and no informative output.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/admin_socket.cc
src/common/admin_socket.h