mirror of https://git.48k.eu/ogclient
live: fix unicast cache error log message
Removes undefined 'repo' variable from error logging message.
This caused the traceback to be polluted with an unhelpful message
about this variable being undefined.
Fixes: 3703fd606
("live: support native unicast cache image restore")
more_events
parent
0ebcd9f776
commit
c0e14e0c95
|
@ -134,7 +134,7 @@ class OgLiveOperations:
|
|||
r = shutil.copy(src, dst)
|
||||
tip_write_csum(image_name)
|
||||
except:
|
||||
logging.error('Error copying image to cache', repo)
|
||||
logging.error('Error copying image to cache')
|
||||
raise ValueError(f'Error: Cannot copy image {image_name} to cache')
|
||||
|
||||
def _restore_image_unicast(self, repo, name, devpath, cache=False):
|
||||
|
|
Loading…
Reference in New Issue