Skip to content

Commit 9c07236

Browse files
committed
get last references
1 parent 8ad6bb1 commit 9c07236

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

provisionersdk/agent.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ curl -fsSL ${ACCESS_URL}bin/coder-linux-amd64 -o $BINARY_LOCATION
2828
chmod +x $BINARY_LOCATION
2929
export CODER_AUTH="${AUTH_TYPE}"
3030
export CODER_URL="${ACCESS_URL}"
31-
exec $BINARY_LOCATION workspaces agent
31+
exec $BINARY_LOCATION agent
3232
`,
3333
},
3434
"darwin": {
@@ -40,7 +40,7 @@ curl -fsSL ${ACCESS_URL}bin/coder-darwin-amd64 -o $BINARY_LOCATION
4040
chmod +x $BINARY_LOCATION
4141
export CODER_AUTH="${AUTH_TYPE}"
4242
export CODER_URL="${ACCESS_URL}"
43-
exec $BINARY_LOCATION workspaces agent
43+
exec $BINARY_LOCATION agent
4444
`,
4545
},
4646
}

provisionersdk/agent_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ func TestAgentScript(t *testing.T) {
5151
require.NoError(t, err)
5252
// Because we use the "echo" binary, we should expect the arguments provided
5353
// as the response to executing our script.
54-
require.Equal(t, "workspaces agent", strings.TrimSpace(string(output)))
54+
require.Equal(t, "agent", strings.TrimSpace(string(output)))
5555
})
5656
}

0 commit comments

Comments
 (0)