ceph-objectstore-tool: return 0 if incmap is sane

this change addresses the regression introduced by 2e2414b3

Fixes: https://tracker.ceph.com/issues/41177
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2019-08-16 19:09:24 +08:00
parent 8958df969e
commit d03f397544

View File

@ -277,6 +277,7 @@ int update_osdmap(ObjectStore& fs, OSDSuperblock& sb, MonitorDBStore& ms)
// inc.decode() verifies `inc_crc`, so it's been taken care of.
}
}
return 0;
}();
switch (add_inc_result) {
case -ENOENT: