Skip to content

Commit f6bdcd6

Browse files
committed
proxy -> wsproxy
1 parent 1c61856 commit f6bdcd6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

enterprise/cli/workspaceproxy_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func Test_ProxyCRUD(t *testing.T) {
4545
ctx := testutil.Context(t, testutil.WaitLong)
4646
inv, conf := newCLI(
4747
t,
48-
"proxy", "create",
48+
"wsproxy", "create",
4949
"--name", expectedName,
5050
"--display-name", "Test Proxy",
5151
"--icon", "/emojis/1f4bb.png",
@@ -68,7 +68,7 @@ func Test_ProxyCRUD(t *testing.T) {
6868
// Fetch proxies and check output
6969
inv, conf = newCLI(
7070
t,
71-
"proxy", "ls",
71+
"wsproxy", "ls",
7272
)
7373

7474
pty = ptytest.New(t)
@@ -118,7 +118,7 @@ func Test_ProxyCRUD(t *testing.T) {
118118

119119
inv, conf := newCLI(
120120
t,
121-
"proxy", "delete", expectedName,
121+
"wsproxy", "delete", expectedName,
122122
)
123123

124124
pty := ptytest.New(t)

scripts/develop.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@ fatal() {
183183
# Attempt to delete the proxy first, in case it already exists.
184184
"${CODER_DEV_SHIM}" proxy delete local-proxy || true
185185
# Create the proxy
186-
proxy_session_token=$("${CODER_DEV_SHIM}" proxy create --name=local-proxy --display-name="Local Proxy" --icon="/emojis/1f4bb.png" --only-token)
186+
proxy_session_token=$("${CODER_DEV_SHIM}" wsproxy create --name=local-proxy --display-name="Local Proxy" --icon="/emojis/1f4bb.png" --only-token)
187187
# Start the proxy
188-
start_cmd PROXY "" "${CODER_DEV_SHIM}" proxy server --http-address=localhost:3010 --proxy-session-token="${proxy_session_token}" --primary-access-url=http://localhost:3000
188+
start_cmd PROXY "" "${CODER_DEV_SHIM}" wsproxy server --http-address=localhost:3010 --proxy-session-token="${proxy_session_token}" --primary-access-url=http://localhost:3000
189189
) || echo "Failed to create workspace proxy. No workspace proxy created."
190190
fi
191191

0 commit comments

Comments
 (0)