diff --git a/pkg/object/minio.go b/pkg/object/minio.go index 97af29b36249..7852e02edc5e 100644 --- a/pkg/object/minio.go +++ b/pkg/object/minio.go @@ -39,10 +39,6 @@ func (m *minio) String() string { return fmt.Sprintf("minio://%s/%s/", *m.s3client.ses.Config.Endpoint, m.s3client.bucket) } -func (m *minio) SetStorageClass(_ string) error { - return notSupported -} - func (m *minio) Limits() Limits { return Limits{ IsSupportMultipartUpload: true, diff --git a/pkg/object/object_storage_test.go b/pkg/object/object_storage_test.go index af3c1d79cb82..e12a72deaa50 100644 --- a/pkg/object/object_storage_test.go +++ b/pkg/object/object_storage_test.go @@ -91,6 +91,8 @@ func setStorageClass(o ObjectStorage) string { sc = string(obs.StorageClassStandard) case *bosclient: sc = api.STORAGE_CLASS_STANDARD + case *minio: + sc = "REDUCED_REDUNDANCY" case *scw: sc = "ONEZONE_IA" // STANDARD, ONEZONE_IA, GLACIER }