fix: typo (#509)

This commit is contained in:
guangwu
2023-10-20 08:29:04 +08:00
committed by GitHub
parent 9f0e50ddf7
commit c1ae968188

View File

@@ -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)
}
}