Skip to content

Commit acec254

Browse files
committed
fixup test with incorrect reference
1 parent 5d3513e commit acec254

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codersdk/deployment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ type HTTPCookieConfig struct {
590590
SameSite string `json:"same_site,omitempty" typescript:",notnull"`
591591
}
592592

593-
func (cfg HTTPCookieConfig) Apply(c *http.Cookie) *http.Cookie {
593+
func (cfg *HTTPCookieConfig) Apply(c *http.Cookie) *http.Cookie {
594594
c.Secure = cfg.Secure.Value()
595595
c.SameSite = cfg.HTTPSameSite()
596596
return c

enterprise/coderd/coderdenttest/proxytest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ func NewWorkspaceProxyReplica(t *testing.T, coderdAPI *coderd.API, owner *coders
156156
RealIPConfig: coderdAPI.RealIPConfig,
157157
Tracing: coderdAPI.TracerProvider,
158158
APIRateLimit: coderdAPI.APIRateLimit,
159-
SecureAuthCookie: coderdAPI.SecureAuthCookie,
159+
CookieConfig: coderdAPI.Cookies,
160160
ProxySessionToken: token,
161161
DisablePathApps: options.DisablePathApps,
162162
// We need a new registry to not conflict with the coderd internal

0 commit comments

Comments
 (0)