Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e32e656

Browse files
committed
Remove support for transforming "--" to "." for agent separator
1 parent 1e012a4 commit e32e656

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cli/ssh.go

-2
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@ func (r *RootCmd) ssh() *serpent.Command {
184184
namedWorkspace := strings.TrimPrefix(inv.Args[0], hostPrefix)
185185
// Support "--" as a delimiter between owner and workspace name
186186
namedWorkspace = strings.Replace(namedWorkspace, "--", "/", 1)
187-
// Support "--" as a delimiter between workspace name and agent
188-
namedWorkspace = strings.Replace(namedWorkspace, "--", ".", 1)
189187

190188
workspace, workspaceAgent, err := getWorkspaceAndAgent(ctx, inv, client, !disableAutostart, namedWorkspace)
191189
if err != nil {

0 commit comments

Comments
 (0)