mirror of
https://github.com/pgsty/minio.git
synced 2026-10-08 02:35:59 +03:00
Use const slashSeparator instead of "/" everywhere (#8028)
This commit is contained in:
@@ -169,7 +169,7 @@ func (xl xlObjects) ListMultipartUploads(ctx context.Context, bucket, object, ke
|
||||
return result, err
|
||||
}
|
||||
for i := range uploadIDs {
|
||||
uploadIDs[i] = strings.TrimSuffix(uploadIDs[i], slashSeparator)
|
||||
uploadIDs[i] = strings.TrimSuffix(uploadIDs[i], SlashSeparator)
|
||||
}
|
||||
sort.Strings(uploadIDs)
|
||||
for _, uploadID := range uploadIDs {
|
||||
|
||||
Reference in New Issue
Block a user