We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7599421 commit 34b42e5Copy full SHA for 34b42e5
plugins/module_utils/controller.py
@@ -252,16 +252,6 @@ def update_if_needed(
252
endpoint,
253
item_type,
254
):
255
- # This will exit from the module on its own
256
- # If the method successfully updates an item and on_update param is
257
- # defined,
258
- # the on_update parameter will be called as a method passing in this
259
- # object and the json from the response
260
- # This will return one of two things:
261
- # 1. None if the existing_item does not need to be updated
262
- # 2. The response from EDA from patching to the endpoint. It's up
263
- # to you to process the response and exit from the module.
264
- # Note: common error codes from the EDA API can cause the module to fail
265
response = None
266
if not existing_item:
267
raise RuntimeError(
0 commit comments