File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -85,8 +85,8 @@ func (r *RootCmd) createProxy() *clibase.Cmd {
85
85
86
86
client := new (codersdk.Client )
87
87
cmd := & clibase.Cmd {
88
- Use : "register " ,
89
- Short : "Register a workspace proxy" ,
88
+ Use : "create " ,
89
+ Short : "Create a workspace proxy" ,
90
90
Middleware : clibase .Chain (
91
91
clibase .RequireNArgs (0 ),
92
92
r .InitClient (client ),
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ fatal() {
185
185
# Attempt to delete the proxy first, in case it already exists.
186
186
" ${CODER_DEV_SHIM} " proxy delete local-proxy || true
187
187
# Create the proxy
188
- proxy_session_token=$( " ${CODER_DEV_SHIM} " proxy register --name=local-proxy --display-name=" Local Proxy" --icon=" /emojis/1f4bb.png" --access-url=http://localhost:3010 --only-token)
188
+ proxy_session_token=$( " ${CODER_DEV_SHIM} " proxy create --name=local-proxy --display-name=" Local Proxy" --icon=" /emojis/1f4bb.png" --access-url=http://localhost:3010 --only-token)
189
189
# Start the proxy
190
190
start_cmd PROXY " " " ${CODER_DEV_SHIM} " proxy server --http-address=localhost:3010 --proxy-session-token=" ${proxy_session_token} " --primary-access-url=http://localhost:3000 --app-security-key=" ${app_security_key} "
191
191
) || echo " Failed to create workspace proxy. No workspace proxy created."
You can’t perform that action at this time.
0 commit comments