mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-16 10:37:09 +00:00
cmd: remove unused code
This commit is contained in:
parent
8eb8c1baa0
commit
9d16fe8266
@ -399,14 +399,6 @@ func clusterWait(p *cluster.Peer, timeout time.Duration) func() time.Duration {
|
||||
}
|
||||
}
|
||||
|
||||
type printfLogger struct {
|
||||
log.Logger
|
||||
}
|
||||
|
||||
func (l printfLogger) Printf(f string, args ...interface{}) {
|
||||
level.Debug(l).Log("msg", fmt.Sprintf(f, args...))
|
||||
}
|
||||
|
||||
func extURL(listen, external string) (*url.URL, error) {
|
||||
if external == "" {
|
||||
hostname, err := os.Hostname()
|
||||
|
Loading…
Reference in New Issue
Block a user