Skip to content

Commit f6605b2

Browse files
committed
fix(prompts): show all workspaces option first in org grant prompt for run command
1 parent c20760d commit f6605b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/platform/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func RunRunCommand(clients *shared.ClientFactory, cmd *cobra.Command, args []str
125125
}
126126
}
127127

128-
runFlags.orgGrantWorkspaceID, err = prompts.ValidateGetOrgWorkspaceGrant(ctx, clients, &selection, runFlags.orgGrantWorkspaceID, false /* top prompt option should be 'all workspaces' */)
128+
runFlags.orgGrantWorkspaceID, err = prompts.ValidateGetOrgWorkspaceGrant(ctx, clients, &selection, runFlags.orgGrantWorkspaceID, true /* top prompt option should be 'all workspaces' */)
129129
if err != nil {
130130
return err
131131
}

0 commit comments

Comments
 (0)