Skip to content

Commit

Permalink
Merge pull request #1103 from vincepri/remove-client-deprecated
Browse files Browse the repository at this point in the history
⚠️ Remove deprecated client.ConstantPatch function
  • Loading branch information
k8s-ci-robot committed Aug 4, 2020
2 parents cb7f858 + 0ec2084 commit 9b722b0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pkg/client/patch.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,6 @@ func RawPatch(patchType types.PatchType, data []byte) Patch {
return &patch{patchType, data}
}

// ConstantPatch constructs a new Patch with the given PatchType and data.
//
// Deprecated: use RawPatch instead
func ConstantPatch(patchType types.PatchType, data []byte) Patch {
return RawPatch(patchType, data)
}

// MergeFromWithOptimisticLock can be used if clients want to make sure a patch
// is being applied to the latest resource version of an object.
//
Expand Down

0 comments on commit 9b722b0

Please sign in to comment.