avoid printing random logs (#2489)

This commit is contained in:
Harshavardhana
2022-12-08 07:54:21 -08:00
committed by GitHub
parent ef182fe75e
commit 8abbbb4625

View File

@@ -20,7 +20,6 @@ import (
"context"
"encoding/json"
"fmt"
"log"
"net"
"net/http"
"strconv"
@@ -604,9 +603,6 @@ func (wsc *wsMinioClient) objectManager(session *models.Principal) {
// start listing and writing to web socket
go func() {
defer func() {
log.Println("Closing listing goroutine:", messageRequest.RequestID)
}()
objectRqConfigs, err := getObjectsOptionsFromReq(messageRequest)
if err != nil {
LogInfo(fmt.Sprintf("Error during Objects OptionsParse %s", err.Error()))