Skip to content

Commit

Permalink
Add missing return to request handling in Socket API server
Browse files Browse the repository at this point in the history
Signed-off-by: hwipl <33433250+hwipl@users.noreply.github.com>
  • Loading branch information
hwipl committed Feb 7, 2024
1 parent 9983b70 commit d3b7094
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/api/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func (s *Server) handleRequest(conn net.Conn) {
log.WithError(err).Error("Daemon message send error")
}
_ = conn.Close()
return
}

// forward client's request to daemon
Expand Down

0 comments on commit d3b7094

Please sign in to comment.