diff --git a/agent/main.go b/agent/main.go index 1aa2ec5c3..ef1ea32cc 100644 --- a/agent/main.go +++ b/agent/main.go @@ -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) diff --git a/agent/pkg/controllers/entries_controller.go b/agent/pkg/controllers/entries_controller.go index 267430eab..c68c65b1b 100644 --- a/agent/pkg/controllers/entries_controller.go +++ b/agent/pkg/controllers/entries_controller.go @@ -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{}{