mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
fix: regression introduced in federated listing buckets
regression was introduced in
6cd255d516 fix it properly.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user