We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62f0d8e commit 348121aCopy full SHA for 348121a
frameworks/vm_manager/vm_updater.py
@@ -282,6 +282,7 @@ def download(self) -> None:
282
Download VM archive from S3.
283
"""
284
if not self.s3.is_exists_object(str(self.archive_path), self.s3_object_key):
285
+ File.delete(str(self.archive_path), stdout=False) if isfile(str(self.archive_path)) else None
286
self.s3.download_file(self.s3_object_key, str(self.archive_path))
287
self.__downloaded = True
288
else:
0 commit comments