rename Force to Immediate for clarity (#18540)

This commit is contained in:
Anis Eleuch
2023-11-28 22:35:16 -08:00
committed by GitHub
parent e9babf3dac
commit b7d11141e1
16 changed files with 69 additions and 68 deletions

View File

@@ -1772,11 +1772,11 @@ func (er erasureObjects) deletePrefix(ctx context.Context, bucket, prefix string
// - The prefix__XLDIR__
defer disks[index].Delete(ctx, bucket, dirPrefix, DeleteOptions{
Recursive: true,
Force: true,
Immediate: true,
})
return disks[index].Delete(ctx, bucket, prefix, DeleteOptions{
Recursive: true,
Force: true,
Immediate: true,
})
}, index)
}