diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 7cff9ee9fc0cd..6d7d08f4eeaba 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -6753,7 +6753,7 @@ int OSDMonitor::prepare_command_pool_set(const cmdmap_t& cmdmap, if (p.type != pg_pool_t::TYPE_ERASURE) { if (n < 1 || n > p.size) { - ss << "pool min_size must be between 1 and " << (int)p.size; + ss << "pool min_size must be between 1 and size, which is set to " << (int)p.size; return -EINVAL; } } else { @@ -6769,7 +6769,7 @@ int OSDMonitor::prepare_command_pool_set(const cmdmap_t& cmdmap, } if (n < k || n > p.size) { - ss << "pool min_size must be between " << k << " and " << (int)p.size; + ss << "pool min_size must be between " << k << " and size, which is set to " << (int)p.size; return -EINVAL; } }