Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
domenipavec committed Apr 14, 2022
1 parent 805c0d1 commit 99d0e19
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions internal/pkg/controllers/tunnel.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func (tc *TunnelController) launchHelperFlowIfNeeded(
return tc.startSSHFlow(ctx, tunnelCreated, params, deleteTunnelParams)
}

return tc.startRDPFlow(ctx, tunnelCreated, params, clientName, clientID)
return tc.startRDPFlow(tunnelCreated, params, clientName)
}

func (tc *TunnelController) finishSSHFlow(ctx context.Context, deleteTunnelParams *options.ParameterBag, prevErr error) error {
Expand Down Expand Up @@ -387,10 +387,9 @@ func (tc *TunnelController) extractPortAndHost(
}

func (tc *TunnelController) startRDPFlow(
ctx context.Context,
tunnelCreated *models.TunnelCreated,
params *options.ParameterBag,
clientName, clientID string,
clientName string,
) error {
port, host, err := tc.extractPortAndHost(tunnelCreated, params)
if err != nil {
Expand Down

0 comments on commit 99d0e19

Please sign in to comment.