This commit is contained in:
mbecker20
2024-04-28 13:47:47 -07:00
parent 98453580c0
commit d46ff30540
+4 -4
View File
@@ -52,11 +52,11 @@ pub trait ResourceSync {
id: String,
) -> anyhow::Result<Resource<Self::FullConfig, Self::FullInfo>>;
/// Diffs the two partials.
/// Removes all fields from update that haven't changed.
/// Diffs the declared toml (partial) against the full existing config.
/// Removes all fields from toml (partial) that haven't changed.
async fn minimize_update(
_original: Self::FullConfig,
_update: Self::PartialConfig,
original: Self::FullConfig,
update: Self::PartialConfig,
) -> anyhow::Result<Self::PartialConfig>;
async fn get_updates(