Skip to content

Commit 3fcbeb2

Browse files
committed
Merge branch 'main' into buildinfoembed
2 parents 759d121 + e1c755b commit 3fcbeb2

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

coderd/workspaceapps_test.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,9 @@ func setupProxyTest(t *testing.T, opts *setupProxyTestOpts) (*codersdk.Client, c
175175
deploymentValues.Dangerous.AllowPathAppSiteOwnerAccess = clibase.Bool(opts.DangerousAllowPathAppSiteOwnerAccess)
176176

177177
client := coderdtest.New(t, &coderdtest.Options{
178-
DeploymentValues: deploymentValues,
179-
AppHostname: opts.AppHost,
180-
IncludeProvisionerDaemon: true,
181-
AgentStatsRefreshInterval: time.Millisecond * 100,
182-
MetricsCacheRefreshInterval: time.Millisecond * 100,
178+
DeploymentValues: deploymentValues,
179+
AppHostname: opts.AppHost,
180+
IncludeProvisionerDaemon: true,
183181
RealIPConfig: &httpmw.RealIPConfig{
184182
TrustedOrigins: []*net.IPNet{{
185183
IP: net.ParseIP("127.0.0.1"),

site/src/xServices/buildInfo/buildInfoXService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const buildInfoMachine = createMachine(
5353
},
5454
{
5555
services: {
56-
getBuildInfo: () => {
56+
getBuildInfo: async () => {
5757
// Build info is injected by the Coder server into the HTML document.
5858
const buildInfo = document.querySelector("meta[property=build-info]")
5959
if (buildInfo) {

0 commit comments

Comments
 (0)