Skip to content

Commit 1318e33

Browse files
committed
Merge pull request #176 from mziccard/fix-match-error-blob-delete
Fix if-match error on blob delete
2 parents 4a0862d + 929030d commit 1318e33

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

gcloud-java-storage/src/main/java/com/google/gcloud/spi/DefaultStorageRpc.java

-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,6 @@ private Storage.Objects.Delete deleteRequest(StorageObject blob, Map<Option, ?>
282282
.setIfMetagenerationMatch(IF_METAGENERATION_MATCH.getLong(options))
283283
.setIfMetagenerationNotMatch(IF_METAGENERATION_NOT_MATCH.getLong(options))
284284
.setIfGenerationMatch(IF_GENERATION_MATCH.getLong(options))
285-
.setIfGenerationMatch(100L)
286285
.setIfGenerationNotMatch(IF_GENERATION_NOT_MATCH.getLong(options));
287286
}
288287

0 commit comments

Comments
 (0)