mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 20:50:22 +03: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