Skip to content

Commit

Permalink
pkg/proxy: silence http server logs
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <[email protected]>
  • Loading branch information
gyuho committed May 2, 2018
1 parent 7da365b commit 3ed6c96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/proxy/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
"crypto/tls"
"fmt"
"io/ioutil"
"log"
"math/rand"
"net"
"net/http"
Expand Down Expand Up @@ -485,6 +486,7 @@ func testServerHTTP(t *testing.T, secure, delayTx bool) {
Addr: dstAddr,
Handler: mux,
TLSConfig: tlsConfig,
ErrorLog: log.New(ioutil.Discard, "net/http", 0),
}

donec := make(chan struct{})
Expand Down

0 comments on commit 3ed6c96

Please sign in to comment.