Skip to content

Commit f7f1c7a

Browse files
committed
Fix lint err
1 parent c0fac6b commit f7f1c7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

coderd/workspaceagents.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ func (api *API) workspaceAgent(rw http.ResponseWriter, r *http.Request) {
6565
var eg errgroup.Group
6666
eg.Go(func() (err error) {
6767
dbApps, err = api.Database.GetWorkspaceAppsByAgentID(ctx, workspaceAgent.ID)
68-
return
68+
return err
6969
})
7070
eg.Go(func() (err error) {
7171
scripts, err = api.Database.GetWorkspaceAgentScriptsByAgentIDs(ctx, []uuid.UUID{workspaceAgent.ID})
72-
return
72+
return err
7373
})
7474
eg.Go(func() (err error) {
7575
logSources, err = api.Database.GetWorkspaceAgentLogSourcesByAgentIDs(ctx, []uuid.UUID{workspaceAgent.ID})
76-
return
76+
return err
7777
})
7878
apiAgent, err := convertWorkspaceAgent(
7979
api.DERPMap(), *api.TailnetCoordinator.Load(), workspaceAgent, convertApps(dbApps), convertScripts(scripts), convertLogSources(logSources), api.AgentInactiveDisconnectTimeout,

0 commit comments

Comments
 (0)