Handle deleting missing container in azureblob-sdk

References #606.
pull/727/head
Andrew Gaul 2024-11-11 12:46:42 -08:00
rodzic 9e2c40a1df
commit 2e66fb2efc
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -480,7 +480,8 @@ public final class AzureBlobStore extends BaseBlobStore {
try {
client.delete();
} catch (BlobStorageException bse) {
if (bse.getErrorCode() != BlobErrorCode.BLOB_NOT_FOUND) {
if (bse.getErrorCode() != BlobErrorCode.BLOB_NOT_FOUND &&
bse.getErrorCode() != BlobErrorCode.CONTAINER_NOT_FOUND) {
throw bse;
}
}