]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: check get()'s return value instead of bl's length 14805/head
authorKefu Chai <kchai@redhat.com>
Wed, 26 Apr 2017 12:17:42 +0000 (20:17 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 26 Apr 2017 12:17:47 +0000 (20:17 +0800)
commit97a58fa69a05da4b39ea56804f0cd24b5cfb7c40
treeb960852cb326b331a41e1a1fb11db556f5075e0a
parent024314e9128793667dc4d080c19a365091d4af5b
mon/OSDMonitor: check get()'s return value instead of bl's length

instead of assuming how the bl is encoded, we'd better rely on the
return code of get().

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