mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
run gofumpt cleanup across code-base (#14015)
This commit is contained in:
@@ -58,7 +58,7 @@ func (c *CoreDNS) Close() error {
|
||||
|
||||
// List - Retrieves list of DNS entries for the domain.
|
||||
func (c *CoreDNS) List() (map[string][]SrvRecord, error) {
|
||||
var srvRecords = map[string][]SrvRecord{}
|
||||
srvRecords := map[string][]SrvRecord{}
|
||||
for _, domainName := range c.domainNames {
|
||||
key := msg.Path(fmt.Sprintf("%s.", domainName), c.prefixPath)
|
||||
records, err := c.list(key+etcdPathSeparator, true)
|
||||
|
||||
Reference in New Issue
Block a user