test - get devices
This commit is contained in:
parent
10d2132fff
commit
2ee9766022
|
@ -209,8 +209,9 @@ def run_module():
|
|||
# api_url='/rest/config/devices',
|
||||
# argument_spec={},
|
||||
# )
|
||||
devices = [] #devices_module.get_call()
|
||||
existing_device_ids = [device['deviceID'] for device in devices]
|
||||
module.api_url = '/rest/config/devices'
|
||||
devices_list = module.get_call()
|
||||
existing_device_ids = [device['deviceID'] for device in devices_list]
|
||||
self_id = module.result['response']['x-syncthing-id']
|
||||
|
||||
if folder_exists: # exists but maybe needs changing
|
||||
|
|
Loading…
Reference in New Issue