This commit is contained in:
RamiBerm
2021-05-24 10:22:20 +03:00
parent c3e993bbc3
commit 24dba9e851
9 changed files with 29 additions and 145 deletions

View File

@@ -26,7 +26,7 @@ func (controlSocket *ControlSocket) SendNewTappedPodsListMessage(namespace strin
podInfos = append(podInfos, shared.PodInfo{Name: pod.Name})
}
tapStatus := shared.TapStatus{Namespace: namespace, Pods: podInfos}
socketMessage := shared.ControlSocketMessage{MessageType: shared.TAPPING_STATUS_MESSAGE_TYPE, Data: tapStatus}
socketMessage := shared.MizuSocketMessage{MessageType: shared.TAPPING_STATUS_MESSAGE_TYPE, Data: tapStatus}
jsonMessage, err := json.Marshal(socketMessage)
if err != nil {