Skip to content

Commit

Permalink
fix: typo (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill authored Oct 20, 2023
1 parent 9f0e50d commit c1ae968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3/replica_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ func deleteOutputError(out *s3.DeleteObjectsOutput) error {
case 1:
return fmt.Errorf("deleting object %s: %s - %s", *out.Errors[0].Key, *out.Errors[0].Code, *out.Errors[0].Message)
default:
return fmt.Errorf("%d errors occured deleting objects, %s: %s - (%s (and %d others)",
return fmt.Errorf("%d errors occurred deleting objects, %s: %s - (%s (and %d others)",
len(out.Errors), *out.Errors[0].Key, *out.Errors[0].Code, *out.Errors[0].Message, len(out.Errors)-1)
}
}

0 comments on commit c1ae968

Please sign in to comment.