Skip to content

Commit

Permalink
Merge pull request #1214 from yhlee-tw/master
Browse files Browse the repository at this point in the history
fixes cloudfront invalidate retry
  • Loading branch information
fviard authored Oct 14, 2021
2 parents 5db139e + 4ff6b88 commit d705dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S3/CloudFront.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ def send_request(self, op_name, dist_id = None, request_id = None, body = None,
warning(unicode(e))
warning("Waiting %d sec..." % self._fail_wait(retries))
time.sleep(self._fail_wait(retries))
return self.send_request(op_name, dist_id, body, retries = retries - 1)
return self.send_request(op_name, dist_id, body = body, retries = retries - 1)
else:
raise e

Expand Down

0 comments on commit d705dcd

Please sign in to comment.