Skip to content
Merged
Prev Previous commit
Next Next commit
fixup! Fix another race
  • Loading branch information
ammario committed Jun 8, 2023
commit f17e7ceabe09ab7dcb18c8e075b7a16dbd4b92dc
4 changes: 2 additions & 2 deletions cli/ssh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func TestSSH(t *testing.T) {
client, workspace, agentToken := setupWorkspaceForAgent(t, nil)
_, _ = tGoContext(t, func(ctx context.Context) {
// Run this async so the SSH command has to wait for
// the build and agent to connect!
// the build and agent to connect.
agentClient := agentsdk.New(client.URL)
agentClient.SetSessionToken(agentToken)
agentCloser := agent.New(agent.Options{
Expand Down Expand Up @@ -714,7 +714,7 @@ type stdioConn struct {
io.Writer
}

func (c *stdioConn) Close() (err error) {
func (*stdioConn) Close() (err error) {
return nil
}

Expand Down