diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-09-09 12:22:17 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-09-09 12:23:00 +0200 |
commit | 084650e4b1650386d55a2c14f17c745c3fcb913f (patch) | |
tree | 89532997d1786aec3c465e6fafc0facdd28519a4 /tests/units/client.py | |
parent | 05b7a576b07522876633f2cecab4556be5823566 (diff) |
live: use correct variable name in restore unicast cachev1.3.2-18
fe40f9c5 ('src: add POST cache/fetch method') broke unicast cache restore.
(2024-09-09 10:05:22) ogClient: [ERROR] - name 'image_name' is not defined
Traceback (most recent call last):
File "/opt/opengnsys/ogClient/src/ogRest.py", line 175, in image_restore
payload = ogRest.operations.image_restore(request, ogRest)
File "/opt/opengnsys/ogClient/src/live/ogOperations.py", line 520, in image_restore
self._restore_image_unicast(repo, name, partdev, cache)
File "/opt/opengnsys/ogClient/src/live/ogOperations.py", line 242, in _restore_image_unicast
image_path = f'{OG_CACHE_IMAGE_PATH}{image_name}.img'
NameError: name 'image_name' is not defined
Diffstat (limited to 'tests/units/client.py')
0 files changed, 0 insertions, 0 deletions