syncthing_folder: Do not duplicate the `msg` key

This commit is contained in:
Borjan Tchakaloff 2021-02-18 17:18:30 +01:00
parent 38ff2db9ca
commit c7aa08f97a
1 changed files with 1 additions and 1 deletions

View File

@ -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):