mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
honor DeleteAllVersions in list(), head() calls (#17604)
This commit is contained in:
@@ -92,7 +92,7 @@ func (a Action) Delete() bool {
|
||||
if a.DeleteRestored() {
|
||||
return true
|
||||
}
|
||||
return a == DeleteVersionAction || a == DeleteAction
|
||||
return a == DeleteVersionAction || a == DeleteAction || a == DeleteAllVersionsAction
|
||||
}
|
||||
|
||||
// Lifecycle - Configuration for bucket lifecycle.
|
||||
|
||||
Reference in New Issue
Block a user