cmd: remove unused code

This commit is contained in:
Simon Pasquier 2018-02-13 14:20:54 +01:00
parent 8eb8c1baa0
commit 9d16fe8266

View File

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