Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into david/easter-egg
  • Loading branch information
dwahler committed May 9, 2022
commit 36c50c01c96bcdd4ee2123b3d51665243456eee0
4 changes: 2 additions & 2 deletions cli/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func ssh() *cobra.Command {
return err
}

workspaces, err := client.WorkspacesByUser(cmd.Context(), codersdk.Me)
workspaces, err := client.WorkspacesByOwner(cmd.Context(), organization.ID, codersdk.Me)
if err != nil {
return err
}
Expand All @@ -68,7 +68,7 @@ func ssh() *cobra.Command {
}

workspaceParts = strings.Split(args[0], ".")
workspace, err = client.WorkspaceByName(cmd.Context(), codersdk.Me, workspaceParts[0])
workspace, err = client.WorkspaceByOwnerAndName(cmd.Context(), organization.ID, codersdk.Me, workspaceParts[0])
if err != nil {
return err
}
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.