remove frivolous printing on terminal (#1400)

Co-authored-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
Harshavardhana
2022-01-14 14:50:42 -08:00
committed by GitHub
parent e374772fc6
commit a15456896b

View File

@@ -18,7 +18,6 @@ package restapi
import (
"context"
"fmt"
"net"
"net/http"
"strconv"
@@ -215,9 +214,7 @@ func serveWS(w http.ResponseWriter, req *http.Request) {
}
go wsS3Client.watch(wOptions)
case strings.HasPrefix(wsPath, `/speedtest`):
fmt.Println("Speedtest init")
speedtestOpts, err := getSpeedtestOptionsFromReq(req)
if err != nil {
LogError("error getting speedtest options: %v", err)
closeWsConn(conn)