Skip to content

Commit d64f190

Browse files
chore: appease linter
1 parent 75102ff commit d64f190

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

coderd/agentapi/subagent.go

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import (
1111
"golang.org/x/xerrors"
1212

1313
"cdr.dev/slog"
14-
"github.com/coder/coder/v2/agent/proto"
1514
agentproto "github.com/coder/coder/v2/agent/proto"
1615
"github.com/coder/coder/v2/coderd/database"
1716
"github.com/coder/coder/v2/coderd/database/dbauthz"
@@ -61,15 +60,15 @@ func (a *SubAgentAPI) CreateSubAgent(ctx context.Context, req *agentproto.Create
6160
var app database.DisplayApp
6261

6362
switch displayApp {
64-
case proto.CreateSubAgentRequest_PORT_FORWARDING_HELPER:
63+
case agentproto.CreateSubAgentRequest_PORT_FORWARDING_HELPER:
6564
app = database.DisplayAppPortForwardingHelper
66-
case proto.CreateSubAgentRequest_SSH_HELPER:
65+
case agentproto.CreateSubAgentRequest_SSH_HELPER:
6766
app = database.DisplayAppSSHHelper
68-
case proto.CreateSubAgentRequest_VSCODE:
67+
case agentproto.CreateSubAgentRequest_VSCODE:
6968
app = database.DisplayAppVscode
70-
case proto.CreateSubAgentRequest_VSCODE_INSIDERS:
69+
case agentproto.CreateSubAgentRequest_VSCODE_INSIDERS:
7170
app = database.DisplayAppVscodeInsiders
72-
case proto.CreateSubAgentRequest_WEB_TERMINAL:
71+
case agentproto.CreateSubAgentRequest_WEB_TERMINAL:
7372
app = database.DisplayAppWebTerminal
7473
default:
7574
return nil, codersdk.ValidationError{

0 commit comments

Comments
 (0)