Skip to content

Commit 233a6de

Browse files
committed
fix
1 parent fedb18e commit 233a6de

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

coderd/workspaceapps/proxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ func (s *Server) proxyWorkspaceApp(rw http.ResponseWriter, r *http.Request, appT
573573
}
574574

575575
// This strips the session token from a workspace app request.
576-
cookieHeaders := r.Header.Values("Cookie")
576+
cookieHeaders := r.Header.Values("Cookie")[:]
577577
r.Header.Del("Cookie")
578578
for _, cookieHeader := range cookieHeaders {
579579
r.Header.Add("Cookie", httpapi.StripCoderCookies(cookieHeader))

coderd/workspacestats/activitybump.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ func ActivityBumpWorkspace(ctx context.Context, log slog.Logger, db database.Sto
4141
// low priority operations fail first.
4242
ctx, cancel := context.WithTimeout(ctx, time.Second*15)
4343
defer cancel()
44-
// nolint:gocritic // (#13146) Will be moved soon as part of refactor.
4544
err := db.ActivityBumpWorkspace(ctx, database.ActivityBumpWorkspaceParams{
4645
NextAutostart: nextAutostart.UTC(),
4746
WorkspaceID: workspaceID,

0 commit comments

Comments
 (0)