Add support for minio tier type (#14468)

This commit is contained in:
Krishnan Parthasarathi
2022-04-11 13:24:40 -07:00
committed by GitHub
parent 879de20edf
commit 1a1b55e133
5 changed files with 1031 additions and 20 deletions

View File

@@ -141,6 +141,8 @@ func newWarmBackend(ctx context.Context, tier madmin.TierConfig) (d WarmBackend,
d, err = newWarmBackendAzure(*tier.Azure)
case madmin.GCS:
d, err = newWarmBackendGCS(*tier.GCS)
case madmin.MinIO:
d, err = newWarmBackendMinIO(*tier.MinIO)
default:
return nil, errTierTypeUnsupported
}