Remove more logging

This commit is contained in:
M. Mert Yildiran 2021-08-22 17:27:36 +03:00
parent 2c827fc524
commit 5900d59567
No known key found for this signature in database
GPG Key ID: D42ADB236521BF7A
2 changed files with 2 additions and 3 deletions

View File

@ -260,7 +260,6 @@ func pipeTapChannelToSocket(connection *websocket.Conn, messageDataChannel <-cha
continue
}
log.Printf("marshaledData: %s\n", marshaledData)
// NOTE: This is where the `*tapApi.OutputChannelItem` leaves the code
// and goes into the intermediate WebSocket.
err = connection.WriteMessage(websocket.TextMessage, marshaledData)

View File

@ -3,7 +3,6 @@ package controllers
import (
"encoding/json"
"fmt"
"log"
"mizuserver/pkg/database"
"mizuserver/pkg/models"
"mizuserver/pkg/providers"
@ -228,7 +227,8 @@ func GetEntry(c *gin.Context) {
"msg": "Can't get entry details",
})
}
log.Printf("entryData: %+v\n", entryData)
// FIXME: Fix the part below
// fullEntryWithPolicy := models.FullEntryWithPolicy{}
// if err := models.GetEntry(&entryData, &fullEntryWithPolicy); err != nil {
// c.JSON(http.StatusInternalServerError, map[string]interface{}{