feat: start configured agent server
This commit is contained in:
@@ -220,10 +220,7 @@ func (server *AgentServer) writeLoop(ctx context.Context, connection *websocket.
|
||||
}
|
||||
|
||||
func (server *AgentServer) close(connection *websocket.Conn, status websocket.StatusCode, reason string) {
|
||||
ctx, cancel := context.WithTimeout(context.Background(), server.writeDeadline())
|
||||
defer cancel()
|
||||
_ = connection.Close(status, reason)
|
||||
_ = ctx
|
||||
}
|
||||
|
||||
func (server *AgentServer) agentPath() string {
|
||||
|
||||
Reference in New Issue
Block a user