summaryrefslogtreecommitdiffstats
path: root/tests/units/0001-get-clients.py
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-10-11 11:22:33 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-10-11 12:17:28 +0200
commit65b397f59fd39b742c56a9be7da4b8bce8b88eb1 (patch)
treef145482eef2d4360d64984089d03ef7f862b7bd2 /tests/units/0001-get-clients.py
parentca3503b716a9189a4cadd8e75cc701fe5dd00c9e (diff)
rest: fix GET /session payload structurev1.2.5-22
Split partition data by client instead of a single array with every partition. Old payload structure: { 'sessions': [{'disk': 1, 'partition': 1, 'name': 'unknown'}, {'disk': 1, 'partition': 2, 'name': 'unknown'}, {'disk': 1, 'partition': 1, 'name': 'Ubuntu 22.04.4 LTS 64 bits'}] } New payload structure: { 'sessions': [ {'addr': '1.1.1.1', 'partitions': ['disk': 1, 'partition': 1, 'name': 'Ubuntu 22.04.4 LTS 64 bits']}, {'addr': '1.1.1.2', 'partitions': [{'disk': 1, 'partition': 1, 'name': 'unknown'}, {'disk': 1, 'partition': 2, 'name': 'unknown'}]} ] }
Diffstat (limited to 'tests/units/0001-get-clients.py')
0 files changed, 0 insertions, 0 deletions