mirror of
https://github.com/minio/minio.git
synced 2025-11-25 12:06:10 -05:00
Use const slashSeparator instead of "/" everywhere (#8028)
This commit is contained in:
@@ -697,7 +697,7 @@ func (xl xlObjects) HealObject(ctx context.Context, bucket, object string, dryRu
|
||||
healCtx := logger.SetReqInfo(context.Background(), newReqInfo)
|
||||
|
||||
// Healing directories handle it separately.
|
||||
if hasSuffix(object, slashSeparator) {
|
||||
if hasSuffix(object, SlashSeparator) {
|
||||
return xl.healObjectDir(healCtx, bucket, object, dryRun)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user