mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 05:27:48 +00:00
feat: review feedback, and more changes in cli
This commit is contained in:
@@ -59,7 +59,9 @@ func handleConnection(conn net.Conn) {
|
||||
CopyData(conn, destTarget)
|
||||
return
|
||||
case "PING":
|
||||
conn.Write([]byte("PONG"))
|
||||
if _, err := conn.Write([]byte("PONG")); err != nil {
|
||||
log.Error().Msgf("Error writing PONG response: %v", err)
|
||||
}
|
||||
return
|
||||
default:
|
||||
log.Error().Msgf("Unknown command: %s", string(cmd))
|
||||
|
||||
Reference in New Issue
Block a user