syncthing_folder: Do not duplicate the msg
key
This commit is contained in:
parent
38ff2db9ca
commit
c7aa08f97a
|
@ -180,7 +180,7 @@ def post_config(module, config, result):
|
|||
|
||||
if not info or info['status'] != 200:
|
||||
result['response'] = str(info)
|
||||
module.fail_json(msg='Error occured while posting new config', **result)
|
||||
module.fail_json(**result)
|
||||
|
||||
# Returns an object of a new folder
|
||||
def create_folder(params, current_device_ids, devices_mapping):
|
||||
|
|
Loading…
Reference in New Issue
Block a user