From 3574af8c2a2798818df8b7e1c422eaab1fbfb42c Mon Sep 17 00:00:00 2001 From: Kate Goldenring Date: Tue, 17 Aug 2021 12:06:42 -0700 Subject: [PATCH] do strategic patch --- shared/src/akri/instance.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/src/akri/instance.rs b/shared/src/akri/instance.rs index c325715d5..d08f62ed5 100644 --- a/shared/src/akri/instance.rs +++ b/shared/src/akri/instance.rs @@ -297,7 +297,7 @@ pub async fn update_instance( log::trace!("update_instance enter"); let instances_client: Api = Api::namespaced(kube_client.clone(), namespace); let instance_json = serde_json::json!(instance_to_update); - let patch = Patch::Apply(&instance_json); + let patch = Patch::Strategic(&instance_json); let instance_patch_params = PatchParams::default(); log::trace!("update_instance instances_client.patch(name, &instance_patch_params, instance_to_update).await?"); match instances_client