diff --git a/be/src/http/action/update_config_action.cpp b/be/src/http/action/update_config_action.cpp index 7ea8bbb02ea65a..db985e910150c1 100644 --- a/be/src/http/action/update_config_action.cpp +++ b/be/src/http/action/update_config_action.cpp @@ -118,7 +118,7 @@ Status UpdateConfigAction::update_config(const std::string& name, const std::str LOG(WARNING) << "Failed to update datacache disk spaces"; return st; } - Status st = BlockCache::instance()->adjust_disk_spaces(spaces); + st = BlockCache::instance()->adjust_disk_spaces(spaces); return st; }); _config_callback.emplace("datacache_disk_path", _config_callback["datacache_disk_size"]);