File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ func Test_ProxyCRUD(t *testing.T) {
45
45
ctx := testutil .Context (t , testutil .WaitLong )
46
46
inv , conf := newCLI (
47
47
t ,
48
- "proxy " , "create" ,
48
+ "wsproxy " , "create" ,
49
49
"--name" , expectedName ,
50
50
"--display-name" , "Test Proxy" ,
51
51
"--icon" , "/emojis/1f4bb.png" ,
@@ -68,7 +68,7 @@ func Test_ProxyCRUD(t *testing.T) {
68
68
// Fetch proxies and check output
69
69
inv , conf = newCLI (
70
70
t ,
71
- "proxy " , "ls" ,
71
+ "wsproxy " , "ls" ,
72
72
)
73
73
74
74
pty = ptytest .New (t )
@@ -118,7 +118,7 @@ func Test_ProxyCRUD(t *testing.T) {
118
118
119
119
inv , conf := newCLI (
120
120
t ,
121
- "proxy " , "delete" , expectedName ,
121
+ "wsproxy " , "delete" , expectedName ,
122
122
)
123
123
124
124
pty := ptytest .New (t )
Original file line number Diff line number Diff line change @@ -183,9 +183,9 @@ fatal() {
183
183
# Attempt to delete the proxy first, in case it already exists.
184
184
" ${CODER_DEV_SHIM} " proxy delete local-proxy || true
185
185
# 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)
187
187
# 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
189
189
) || echo " Failed to create workspace proxy. No workspace proxy created."
190
190
fi
191
191
You can’t perform that action at this time.
0 commit comments