Skip to content

Commit 63cbc79

Browse files
committed
Rename 'register' -> 'create'
1 parent 7fc66d6 commit 63cbc79

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

enterprise/cli/workspaceproxy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ func (r *RootCmd) createProxy() *clibase.Cmd {
8585

8686
client := new(codersdk.Client)
8787
cmd := &clibase.Cmd{
88-
Use: "register",
89-
Short: "Register a workspace proxy",
88+
Use: "create",
89+
Short: "Create a workspace proxy",
9090
Middleware: clibase.Chain(
9191
clibase.RequireNArgs(0),
9292
r.InitClient(client),

scripts/develop.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ fatal() {
185185
# Attempt to delete the proxy first, in case it already exists.
186186
"${CODER_DEV_SHIM}" proxy delete local-proxy || true
187187
# 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)
189189
# Start the proxy
190190
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}"
191191
) || echo "Failed to create workspace proxy. No workspace proxy created."

0 commit comments

Comments
 (0)