mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
feat: support fully-qualified workspace names in CLI (#2036)
This commit is contained in:
@ -48,7 +48,7 @@ func bump() *cobra.Command {
|
||||
return xerrors.Errorf("get current org: %w", err)
|
||||
}
|
||||
|
||||
workspace, err := client.WorkspaceByOwnerAndName(cmd.Context(), organization.ID, codersdk.Me, args[0])
|
||||
workspace, err := namedWorkspace(cmd, client, organization.ID, args[0])
|
||||
if err != nil {
|
||||
return xerrors.Errorf("get workspace: %w", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user