mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00:00
fix: allow updated domain names in federation (#11365)
additionally also disallow overlapping domain names
This commit is contained in:
1 parent
e79829b5b3
commit
6cd255d516
7 files changed
+123
-59
No files matched your search
+3
-1
@@ -354,7 +354,9 @@ func (web *webAPIHandlers) ListBuckets(r *http.Request, args *WebGenericArgs, re
|
||||
// If etcd, dns federation configured list buckets from etcd.
|
||||
if globalDNSConfig != nil && globalBucketFederation {
|
||||
dnsBuckets, err := globalDNSConfig.List()
|
||||
if err != nil && err != dns.ErrNoEntriesFound {
|
||||
if err != nil && !IsErrIgnored(err,
|
||||
dns.ErrNoEntriesFound,
|
||||
dns.ErrDomainMissing) {
|
||||
return toJSONError(ctx, err)
|
||||
}
|
||||
for _, dnsRecords := range dnsBuckets {
|
||||
|
||||
Reference in new issue
Block a user