mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
plugin/pkg/uniq: add (#1733)
Spin this out the metrics package so we can use it in the health one of well to fix some reload bugs.
This commit is contained in:
@@ -106,7 +106,7 @@ func (m *Metrics) OnRestart() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
uniqAddr.setAddressTodo(m.Addr)
|
||||
uniqAddr.SetTodo(m.Addr)
|
||||
|
||||
m.ln.Close()
|
||||
m.lnSetup = false
|
||||
|
||||
Reference in New Issue
Block a user