diff options
Diffstat (limited to 'src/tools/monmaptool.cc')
-rw-r--r-- | src/tools/monmaptool.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/monmaptool.cc b/src/tools/monmaptool.cc index f1b86e00362..dc882a006a2 100644 --- a/src/tools/monmaptool.cc +++ b/src/tools/monmaptool.cc @@ -375,6 +375,10 @@ int main(int argc, const char **argv) return r; } + if (handle_features(features, monmap)) { + modified = true; + } + if (min_mon_release != ceph_release_t::unknown) { monmap.min_mon_release = min_mon_release; cout << "setting min_mon_release = " << min_mon_release << std::endl; @@ -459,10 +463,6 @@ int main(int argc, const char **argv) monmap.remove(p); } - if (handle_features(features, monmap)) { - modified = true; - } - if (!print && !modified && !show_features) { cerr << "no action specified" << std::endl; helpful_exit(); |