We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cb7f858 + 0ec2084 commit 9b722b0Copy full SHA for 9b722b0
pkg/client/patch.go
@@ -56,13 +56,6 @@ func RawPatch(patchType types.PatchType, data []byte) Patch {
56
return &patch{patchType, data}
57
}
58
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
-
66
// MergeFromWithOptimisticLock can be used if clients want to make sure a patch
67
// is being applied to the latest resource version of an object.
68
//
0 commit comments