minio / madmin-go

The MinIO Admin Go Client SDK provides APIs to manage MinIO services
https://pkg.go.dev/github.com/minio/madmin-go/v3
GNU Affero General Public License v3.0
90 stars 63 forks source link

Use typed backend information #293

Closed ramondeklein closed 3 months ago

ramondeklein commented 3 months ago

The MinioInfo structure contains backend information, but it's not typed.

PS: I'm not sure if there is a specific reason why this wasn't typed, so please close and comment if it cannot be typed for some reason.

harshavardhana commented 3 months ago

PS: I'm not sure if there is a specific reason why this wasn't typed, so please close and comment if it cannot be typed for some reason.

yeah its historic problem we had to change the type and ended up using interface{} because that older struct by mistake was not versioned properly.

I think we are keeping it here for really old deployments.

ramondeklein commented 3 months ago

Okay, then I’ll close it.