Skip to content

Commit

Permalink
ds
Browse files Browse the repository at this point in the history
Signed-off-by: Shiva Shankar Vaddepally <[email protected]>
  • Loading branch information
shivashankar-vaddepally committed Jan 18, 2025
1 parent faf9cd8 commit 98e1f4e
Show file tree
Hide file tree
Showing 3 changed files with 268 additions and 10 deletions.
5 changes: 2 additions & 3 deletions plugins/module_utils/module_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,7 @@ def create_or_update(self):
if self.resource_name == "gslbservice":
sitename = self.resource_module_params.get("sitename", None)
self.resource_module_params.pop("sitename", None)



if is_module_params_contain_update_params:
log(
"INFO: module_params has keys %s which are not part of `add_payload_keys`. Hence updating the resource again"
Expand All @@ -429,7 +428,7 @@ def create_or_update(self):
self.return_failure(err)
if sitename:
self.resource_module_params["sitename"] = sitename

else:
# Update only if resource is not identical (idempotent)
if self.is_resource_identical():
Expand Down
Loading

0 comments on commit 98e1f4e

Please sign in to comment.