Commit c2f2daa6 authored by Kelly Zhou's avatar Kelly Zhou
Browse files

allow overwrite partition policies

parent a73d7acf
Pipeline #123271 failed with stages
in 13 minutes and 48 seconds
......@@ -36,7 +36,7 @@ class AzureBundleStorageClient(BundleStorageClient):
uri = self._get_uri(name)
blob_client = self.client.get_blob_client(container=self.container_name, blob=name)
#not sure how to set content type
blob_client.upload_blob(file.read(), blob_type="BlockBlob")
blob_client.upload_blob(file.read(), overwrite=True, blob_type="BlockBlob")
return uri
except Exception as e:
logger.error(f"Failed to upload file to {uri}")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment