Skip to content

Commit 9b722b0

Browse files
authored
Merge pull request #1103 from vincepri/remove-client-deprecated
⚠️ Remove deprecated client.ConstantPatch function
2 parents cb7f858 + 0ec2084 commit 9b722b0

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pkg/client/patch.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,6 @@ func RawPatch(patchType types.PatchType, data []byte) Patch {
5656
return &patch{patchType, data}
5757
}
5858

59-
// ConstantPatch constructs a new Patch with the given PatchType and data.
60-
//
61-
// Deprecated: use RawPatch instead
62-
func ConstantPatch(patchType types.PatchType, data []byte) Patch {
63-
return RawPatch(patchType, data)
64-
}
65-
6659
// MergeFromWithOptimisticLock can be used if clients want to make sure a patch
6760
// is being applied to the latest resource version of an object.
6861
//

0 commit comments

Comments
 (0)