From b7a0b6053e6a6adf3e90d9125c036fc216d0aa64 Mon Sep 17 00:00:00 2001 From: Harshdeep Kaur Date: Fri, 25 Jul 2025 14:34:59 -0400 Subject: [PATCH] upload response bug fix --- .../java/com/salesforce/multicloudj/blob/gcp/GcpBlobStore.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/blob/blob-gcp/src/main/java/com/salesforce/multicloudj/blob/gcp/GcpBlobStore.java b/blob/blob-gcp/src/main/java/com/salesforce/multicloudj/blob/gcp/GcpBlobStore.java index 1a6eba72..b8956f05 100644 --- a/blob/blob-gcp/src/main/java/com/salesforce/multicloudj/blob/gcp/GcpBlobStore.java +++ b/blob/blob-gcp/src/main/java/com/salesforce/multicloudj/blob/gcp/GcpBlobStore.java @@ -102,9 +102,6 @@ protected UploadResponse doUpload(UploadRequest uploadRequest, InputStream input throw new SubstrateSdkException("Request failed while uploading from input stream", e); } Blob blob = storage.get(getBucket(), uploadRequest.getKey()); - if(blob == null) { - throw new SubstrateSdkException("Could not locate newly uploaded blob"); - } return transformer.toUploadResponse(blob); }