mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05: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