mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-27 06:28:42 +00:00
Remove more logging
This commit is contained in:
parent
2c827fc524
commit
5900d59567
@ -260,7 +260,6 @@ func pipeTapChannelToSocket(connection *websocket.Conn, messageDataChannel <-cha
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Printf("marshaledData: %s\n", marshaledData)
|
|
||||||
// NOTE: This is where the `*tapApi.OutputChannelItem` leaves the code
|
// NOTE: This is where the `*tapApi.OutputChannelItem` leaves the code
|
||||||
// and goes into the intermediate WebSocket.
|
// and goes into the intermediate WebSocket.
|
||||||
err = connection.WriteMessage(websocket.TextMessage, marshaledData)
|
err = connection.WriteMessage(websocket.TextMessage, marshaledData)
|
||||||
|
@ -3,7 +3,6 @@ package controllers
|
|||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
|
||||||
"mizuserver/pkg/database"
|
"mizuserver/pkg/database"
|
||||||
"mizuserver/pkg/models"
|
"mizuserver/pkg/models"
|
||||||
"mizuserver/pkg/providers"
|
"mizuserver/pkg/providers"
|
||||||
@ -228,7 +227,8 @@ func GetEntry(c *gin.Context) {
|
|||||||
"msg": "Can't get entry details",
|
"msg": "Can't get entry details",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
log.Printf("entryData: %+v\n", entryData)
|
|
||||||
|
// FIXME: Fix the part below
|
||||||
// fullEntryWithPolicy := models.FullEntryWithPolicy{}
|
// fullEntryWithPolicy := models.FullEntryWithPolicy{}
|
||||||
// if err := models.GetEntry(&entryData, &fullEntryWithPolicy); err != nil {
|
// if err := models.GetEntry(&entryData, &fullEntryWithPolicy); err != nil {
|
||||||
// c.JSON(http.StatusInternalServerError, map[string]interface{}{
|
// c.JSON(http.StatusInternalServerError, map[string]interface{}{
|
||||||
|
Loading…
Reference in New Issue
Block a user