Skip to content

Commit

Permalink
Use DeepEqual instead of DeepDerivative to see if CI still fails
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarrillocruz committed May 23, 2019
1 parent f3d1800 commit 9450f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apply/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func ApplyObject(ctx context.Context, client k8sclient.Client, obj *uns.Unstruct
if err := MergeObjectForUpdate(existing, obj); err != nil {
return errors.Wrapf(err, "could not merge object %s with existing", objDesc)
}
if !equality.Semantic.DeepDerivative(existing, obj) {
if !equality.Semantic.DeepEqual(existing, obj) {
if err := client.Update(ctx, obj); err != nil {
return errors.Wrapf(err, "could not update object %s", objDesc)
} else {
Expand Down

0 comments on commit 9450f1e

Please sign in to comment.