fix: allow updated domain names in federation (#11365)

additionally also disallow overlapping domain names
This commit is contained in:
Harshavardhana
2021-01-28 11:44:48 -08:00
committed by GitHub
parent e79829b5b3
commit 6cd255d516
7 changed files with 123 additions and 59 deletions
+6
View File
@@ -30,6 +30,12 @@ var (
"Can only accept `on` and `off` values. To enable O_SYNC for fs backend, set this value to `on`",
)
ErrOverlappingDomainValue = newErrFn(
"Overlapping domain values",
"Please check the passed value",
"MINIO_DOMAIN only accepts non-overlapping domain values",
)
ErrInvalidDomainValue = newErrFn(
"Invalid domain value",
"Please check the passed value",