mirror of
https://github.com/minio/minio.git
synced 2025-01-24 13:13: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
|
||||
for _, domainName := range c.domainNames {
|
||||
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 {
|
||||
return nil, err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user