]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: make MonClient::start_mon_command return void
authorJohn Spray <john.spray@redhat.com>
Sat, 4 Feb 2017 21:19:23 +0000 (21:19 +0000)
committerJohn Spray <john.spray@redhat.com>
Thu, 9 Mar 2017 13:30:06 +0000 (13:30 +0000)
commit6f155f4f53fb5a37882dcfec86b8f7b0e14340a4
treeb2046cc91e119e02020c38bf0012a43898d947ea
parenta6a07e339aaa733885ac71dcc10e47892c871669
mon: make MonClient::start_mon_command return void

The int return was misleading because it didn't
really have any error cases.  We sometimes use
ints in APIs in case we want to return an error
in future, but MonClient is an internal interface.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mon/MonClient.cc
src/mon/MonClient.h