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:
Miek Gieben
2018-04-25 11:45:09 +01:00
committed by GitHub
parent ce084012df
commit 5e6114b797
6 changed files with 77 additions and 75 deletions

View File

@@ -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