Skip to content

Commit

Permalink
Update plugins/module_utils/k8s/service.py
Browse files Browse the repository at this point in the history
Signed-off-by: Alina Buzachis <[email protected]>
  • Loading branch information
alinabuzachis committed May 21, 2024
1 parent 0f22177 commit 776f571
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions plugins/module_utils/k8s/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,6 @@ def patch_resource(
namespace: str,
merge_type: str = None,
) -> Tuple[Dict, List[str]]:
if merge_type == "json":
self.module.deprecate(
msg="json as a merge_type value is deprecated. Please use the k8s_json_patch module instead.",
version="4.0.0",
collection_name="kubernetes.core",
)
try:
params = dict(name=name, namespace=namespace, serialize=False)
if merge_type:
Expand Down

0 comments on commit 776f571

Please sign in to comment.