fix: use provided username when fetching workspaces (#12955)

This commit is contained in:
Kyle Carberry
2024-04-13 14:39:57 -04:00
committed by GitHub
parent 00fcf36999
commit d3790bb5be
6 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ func (r *RootCmd) ping() *serpent.Command {
_, workspaceAgent, err := getWorkspaceAndAgent(
ctx, inv, client,
false, // Do not autostart for a ping.
codersdk.Me, workspaceName,
workspaceName,
)
if err != nil {
return err