Skip to content

Commit

Permalink
Fix broken struct field casing
Browse files Browse the repository at this point in the history
Mistake in casing breaks library and tests, simply fix the casing.
  • Loading branch information
fffinkel authored and Admiral-Piett committed Mar 6, 2023
1 parent 16b1323 commit 5de5724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/gosns/gosns.go
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ func callEndpoint(endpoint string, subArn string, msg app.SNSMessage, raw bool)
//responds in the range of 200-499. Response codes outside that range will
//trigger the Subscription's retry policy.
//https://docs.aws.amazon.com/sns/latest/dg/SendMessageToHttp.prepare.html
if res.StatusCode < 200 || res.statusCode > 499 {
if res.StatusCode < 200 || res.StatusCode > 499 {
log.WithFields(log.Fields{
"statusCode": res.StatusCode,
"status": res.Status,
Expand Down

0 comments on commit 5de5724

Please sign in to comment.