mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-03-06 22:02:34 +08:00
Rename SettingsDiff::diff to SettingsDiff::apply_and_diff
This commit is contained in:
parent
afb4b9677f
commit
4fab72cbea
@ -661,7 +661,7 @@ impl SettingsDiff {
|
||||
|
||||
let mut reindex_action = None;
|
||||
|
||||
Self::diff(
|
||||
Self::apply_and_diff(
|
||||
&mut reindex_action,
|
||||
&mut source,
|
||||
&mut model,
|
||||
@ -791,7 +791,7 @@ impl SettingsDiff {
|
||||
indexing_embedder: new_indexing_embedder,
|
||||
} = new_sub_embedder;
|
||||
|
||||
Self::diff(
|
||||
Self::apply_and_diff(
|
||||
reindex_action,
|
||||
&mut source,
|
||||
&mut model,
|
||||
@ -852,7 +852,7 @@ impl SettingsDiff {
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn diff(
|
||||
fn apply_and_diff(
|
||||
reindex_action: &mut Option<ReindexAction>,
|
||||
source: &mut Setting<EmbedderSource>,
|
||||
model: &mut Setting<String>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user