Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-lombardi committed Jan 2, 2025
1 parent db32869 commit 7ecfa9d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/abstractions/shell/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,8 @@ func (g *shellGroup) ShellConnect(ctx echo.Context) error {
// Wait for either connection to close
select {
case <-done:
clientCancel()
return nil
case <-clientCtx.Done():
return nil
}

return nil
}

0 comments on commit 7ecfa9d

Please sign in to comment.