From cc3061fa0fd47fabe5664bfb12ac94d1a1cc0ef3 Mon Sep 17 00:00:00 2001 From: "ruokai.lai" Date: Fri, 10 Mar 2017 15:09:16 +1100 Subject: [PATCH] remove debug code --- contrib/analyze-local-images/main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/contrib/analyze-local-images/main.go b/contrib/analyze-local-images/main.go index d92dc28a..527a2066 100644 --- a/contrib/analyze-local-images/main.go +++ b/contrib/analyze-local-images/main.go @@ -369,8 +369,6 @@ func listenHTTP(path, allowedHost string, ch chan error) { fc := func(w http.ResponseWriter, r *http.Request) { host, _, err := net.SplitHostPort(r.RemoteAddr) allowedIPs, err1 := net.LookupIP(allowedHost) - log.Printf("host: %s; ip: %s", host, allowedIPs[0]) - fmt.Println(host,allowedIPs) if err == nil && err1 == nil { allowedIPs = append(allowedIPs, net.ParseIP("172.17.0.1")) for _, a :=range allowedIPs {