Skip to content
/ beam Public
forked from apache/beam

Commit

Permalink
Fix post-commit failure after pr/30205. (apache#30331)
Browse files Browse the repository at this point in the history
  • Loading branch information
shunping authored Feb 15, 2024
1 parent 690a5a4 commit 52eedb2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sdks/python/apache_beam/io/gcp/gcsio.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ def delete_batch(self, paths):
resp = current_batch._responses[i]
if resp.status_code >= 400 and resp.status_code != 404:
error_code = resp.status_code
break
final_results.append((path, error_code))

s += MAX_BATCH_OPERATION_SIZE
Expand Down Expand Up @@ -296,7 +295,6 @@ def copy_batch(self, src_dest_pairs):
resp = current_batch._responses[i]
if resp.status_code >= 400:
error_code = resp.status_code
break
final_results.append((pair[0], pair[1], error_code))

s += MAX_BATCH_OPERATION_SIZE
Expand Down

0 comments on commit 52eedb2

Please sign in to comment.