Skip to content

Commit 29c82ee

Browse files
author
Varun Shenoy
authored
b10cp fix (#620)
1 parent 3e9c1c5 commit 29c82ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

truss/contexts/image_builder/cache_warmer.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ def download_file(
5555
expiration=datetime.timedelta(minutes=15),
5656
method="GET",
5757
)
58-
_download_from_url_using_b10cp(_b10cp_path(), url, dst_file)
58+
proc = _download_from_url_using_b10cp(_b10cp_path(), url, dst_file)
59+
proc.wait()
5960
except Exception as e:
6061
raise RuntimeError(f"Failure downloading file from GCS: {e}")
6162
else:

0 commit comments

Comments
 (0)