Skip to content

Commit 0ec2084

Browse files
committed
⚠️ Remove deprecated client.ConstantPatch function
Signed-off-by: Vince Prignano <[email protected]>
1 parent 1abbd13 commit 0ec2084

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)