mirror of
https://github.com/clearml/clearml
synced 2025-02-12 07:35:08 +00:00
Fix upload_object_via_stream() in Azure storage driver
This commit is contained in:
parent
0298b84030
commit
5d04b21a79
@ -1587,7 +1587,7 @@ class _AzureBlobServiceStorageDriver(_Driver):
|
|||||||
container.blob_service.create_blob_from_bytes(
|
container.blob_service.create_blob_from_bytes(
|
||||||
container.name,
|
container.name,
|
||||||
object_name,
|
object_name,
|
||||||
bytes(iterator),
|
iterator.read() if hasattr(iterator, "read") else bytes(iterator),
|
||||||
# timeout=300,
|
# timeout=300,
|
||||||
max_connections=2,
|
max_connections=2,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user