mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
feat: restart stopped workspaces on ssh command (#11050)
* feat: autostart workspaces on ssh & port forward This is opt out by default. VScode ssh does not have this behavior
This commit is contained in:
@ -40,6 +40,7 @@ func (r *RootCmd) ping() *clibase.Cmd {
|
||||
workspaceName := inv.Args[0]
|
||||
_, workspaceAgent, err := getWorkspaceAndAgent(
|
||||
ctx, inv, client,
|
||||
false, // Do not autostart for a ping.
|
||||
codersdk.Me, workspaceName,
|
||||
)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user