mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 07:43:29 +03:00
fix: remove all unused code (#12360)
This commit is contained in:
@@ -211,6 +211,9 @@ type xlMetaV2Version struct {
|
||||
|
||||
// Valid xl meta xlMetaV2Version is valid
|
||||
func (j xlMetaV2Version) Valid() bool {
|
||||
if !j.Type.valid() {
|
||||
return false
|
||||
}
|
||||
switch j.Type {
|
||||
case LegacyType:
|
||||
return j.ObjectV1 != nil &&
|
||||
|
||||
Reference in New Issue
Block a user