diff --git a/.vscode/settings.json b/.vscode/settings.json index 5c7583b6c..dd9a05b16 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -21,10 +21,9 @@ ], "go.lintOnSave": "workspace", "go.testTimeout": "240s", - "go.goroot": "/home/ubuntu/.asdf/installs/golang//go", "[go][go.mod]": { "editor.codeActionsOnSave": { "source.organizeImports": "explicit" } } -} +} \ No newline at end of file diff --git a/pkg/cmd/create/doc.md b/pkg/cmd/create/doc.md index fb97a991f..0a856447e 100644 --- a/pkg/cmd/create/doc.md +++ b/pkg/cmd/create/doc.md @@ -199,9 +199,6 @@ Connect to running workspace: solidity-nextjs-starter 1 akka-http-quickstart-scala 1 -Join a project: - brev start new-docs - ``` join the project new-docs diff --git a/pkg/cmd/ls/ls.go b/pkg/cmd/ls/ls.go index 2620ab8b9..9cebe7511 100644 --- a/pkg/cmd/ls/ls.go +++ b/pkg/cmd/ls/ls.go @@ -368,18 +368,6 @@ func (ls Ls) RunUser(_ bool) error { func (ls Ls) ShowAllWorkspaces(org *entity.Organization, otherOrgs []entity.Organization, user *entity.User, allWorkspaces []entity.Workspace, gpuLookup map[string]string) { userWorkspaces := store.FilterForUserWorkspaces(allWorkspaces, user.ID) ls.displayWorkspacesAndHelp(org, otherOrgs, userWorkspaces, allWorkspaces, gpuLookup) - - projects := virtualproject.NewVirtualProjects(allWorkspaces) - - var unjoinedProjects []virtualproject.VirtualProject - for _, p := range projects { - wks := p.GetUserWorkspaces(user.ID) - if len(wks) == 0 { - unjoinedProjects = append(unjoinedProjects, p) - } - } - - displayProjects(ls.terminal, org.Name, unjoinedProjects) } func (ls Ls) ShowUserWorkspaces(org *entity.Organization, otherOrgs []entity.Organization, user *entity.User, allWorkspaces []entity.Workspace, gpuLookup map[string]string) { @@ -395,7 +383,7 @@ func (ls Ls) displayWorkspacesAndHelp(org *entity.Organization, otherOrgs []enti ls.terminal.Vprintf("%s", ls.terminal.Green("See teammates' instances:\n")) ls.terminal.Vprintf("%s", ls.terminal.Yellow("\tbrev ls --all\n")) } else { - ls.terminal.Vprintf("%s", ls.terminal.Green("Start a new instance:\n")) + ls.terminal.Vprintf("%s", ls.terminal.Green("Create a new instance:\n")) } if len(otherOrgs) > 1 { ls.terminal.Vprintf("%s", ls.terminal.Green("Switch to another org:\n")) @@ -409,7 +397,6 @@ func (ls Ls) displayWorkspacesAndHelp(org *entity.Organization, otherOrgs []enti fmt.Print("\n") displayLsResetBreadCrumb(ls.terminal, userWorkspaces) - // displayLsConnectBreadCrumb(ls.terminal, userWorkspaces) } } diff --git a/pkg/cmd/start/doc.md b/pkg/cmd/start/doc.md index fb97a991f..0a856447e 100644 --- a/pkg/cmd/start/doc.md +++ b/pkg/cmd/start/doc.md @@ -199,9 +199,6 @@ Connect to running workspace: solidity-nextjs-starter 1 akka-http-quickstart-scala 1 -Join a project: - brev start new-docs - ``` join the project new-docs diff --git a/pkg/cmd/status/doc.md b/pkg/cmd/status/doc.md index fb97a991f..0a856447e 100644 --- a/pkg/cmd/status/doc.md +++ b/pkg/cmd/status/doc.md @@ -199,9 +199,6 @@ Connect to running workspace: solidity-nextjs-starter 1 akka-http-quickstart-scala 1 -Join a project: - brev start new-docs - ``` join the project new-docs