Skip to content

Commit

Permalink
do strategic patch
Browse files Browse the repository at this point in the history
  • Loading branch information
kate-goldenring committed Aug 17, 2021
1 parent bc8456b commit b333e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/src/akri/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ pub async fn update_instance(
log::trace!("update_instance enter");
let instances_client: Api<Instance> = 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
Expand Down

0 comments on commit b333e97

Please sign in to comment.