From d46ff305404f8ca4c4c1a68458f024fa50fd149f Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Sun, 28 Apr 2024 13:47:47 -0700 Subject: [PATCH] doc --- bin/monrun/src/sync/resources/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/monrun/src/sync/resources/mod.rs b/bin/monrun/src/sync/resources/mod.rs index 459474261..3aef71839 100644 --- a/bin/monrun/src/sync/resources/mod.rs +++ b/bin/monrun/src/sync/resources/mod.rs @@ -52,11 +52,11 @@ pub trait ResourceSync { id: String, ) -> anyhow::Result>; - /// 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; async fn get_updates(