mirror of
https://github.com/minio/minio.git
synced 2025-01-25 21:53:16 -05:00
fix: regression introduced in federated listing buckets
regression was introduced in 6cd255d516b1981ffb3bcae6434c55f09e30b0a0 fix it properly.
This commit is contained in:
parent
547efecd82
commit
f737a027cf
@ -79,7 +79,7 @@ func (c *CoreDNS) Get(bucket string) ([]SrvRecord, error) {
|
|||||||
var srvRecords []SrvRecord
|
var srvRecords []SrvRecord
|
||||||
for _, domainName := range c.domainNames {
|
for _, domainName := range c.domainNames {
|
||||||
key := msg.Path(fmt.Sprintf("%s.%s.", bucket, domainName), c.prefixPath)
|
key := msg.Path(fmt.Sprintf("%s.%s.", bucket, domainName), c.prefixPath)
|
||||||
records, err := c.list(key+etcdPathSeparator, false)
|
records, err := c.list(key, false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user