Skip to content

Commit

Permalink
Apply autoformat suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
iamed2 and github-actions[bot] authored Dec 17, 2022
1 parent 6bf3452 commit a078000
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/AWS.jl
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ end
end

@testset "Custom throttling" begin
aws = AWS.AWSConfig(max_attempts=1)
aws = AWS.AWSConfig(; max_attempts=1)
@test AWS.max_attempts(aws) == 1

request = Request(;
Expand Down
2 changes: 1 addition & 1 deletion test/patch.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function _throttling_patch(retries::Ref{Int})

p = @patch function AWS._http_request(::AWS.AbstractBackend, request::Request, ::IO)
retries[] += 1
resp = _response(status=status, body=body).response
resp = _response(; status=status, body=body).response
err = HTTP.StatusError(status, request.request_method, request.resource, resp)
throw(AWS.AWSException(err, body))
end
Expand Down

0 comments on commit a078000

Please sign in to comment.