mirror of
https://github.com/coredns/coredns.git
synced 2026-02-17 12:43:09 -05:00
chore: bump Go version to 1.26.0 (#7856)
This commit is contained in:
@@ -142,7 +142,7 @@ func (m *Metrics) stopServer() error {
|
||||
func (m *Metrics) OnFinalShutdown() error { return m.stopServer() }
|
||||
|
||||
func keys(m map[string]struct{}) []string {
|
||||
sx := []string{}
|
||||
sx := make([]string, 0, len(m))
|
||||
for k := range m {
|
||||
sx = append(sx, k)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user