mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 21:20:23 +03:00
tests: Do not allow forced type asserts (#20905)
This commit is contained in:
@@ -143,7 +143,6 @@ func (c *CoreDNS) list(key string, domain bool) ([]SrvRecord, error) {
|
||||
|
||||
srvRecord.Key = msgUnPath(srvRecord.Key)
|
||||
srvRecords = append(srvRecords, srvRecord)
|
||||
|
||||
}
|
||||
sort.Slice(srvRecords, func(i int, j int) bool {
|
||||
return srvRecords[i].Key < srvRecords[j].Key
|
||||
|
||||
Reference in New Issue
Block a user