Skip to content

Commit

Permalink
Removed strategic merge patch
Browse files Browse the repository at this point in the history
Signed-off-by: souravbiswassanto <saurov@appscode.com>
  • Loading branch information
souravbiswassanto committed Feb 27, 2024
1 parent 1b73477 commit 2dd04ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/clientset/versioned/typed/apps/v1/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func PatchPetSetObject(ctx context.Context, psc AppsV1Interface, cur, mod *v1.Pe
return cur, kutil.VerbUnchanged, nil
}
klog.V(3).Infof("Patching PetSet %s/%s with %s.", cur.Namespace, cur.Name, string(patch))
out, err := psc.PetSets(cur.Namespace).Patch(ctx, cur.Name, types.StrategicMergePatchType, patch, opts)
out, err := psc.PetSets(cur.Namespace).Patch(ctx, cur.Name, types.MergePatchType, patch, opts)
return out, kutil.VerbPatched, err
}

Expand Down

0 comments on commit 2dd04ac

Please sign in to comment.