mirror of
https://github.com/ceph/ceph
synced 2025-01-18 17:12:29 +00:00
Merge pull request #36067 from winndows/superfluous_break1
mon/OSDMonitor: Remove the superfluous break Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
commit
db8ab253ad
@ -7649,7 +7649,6 @@ int OSDMonitor::prepare_pool_crush_rule(const unsigned pool_type,
|
|||||||
*ss << "prepare_pool_crush_rule: " << pool_type
|
*ss << "prepare_pool_crush_rule: " << pool_type
|
||||||
<< " is not a known pool type";
|
<< " is not a known pool type";
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!osdmap.crush->ruleset_exists(*crush_rule)) {
|
if (!osdmap.crush->ruleset_exists(*crush_rule)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user