Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update error message for missing application (#6281)
# Description Adds an additional error message to `rad resource list`. ## Type of change <!-- Please select **one** of the following options that describes your change and delete the others. Clearly identifying the type of change you are making will help us review your PR faster, and is used in authoring release notes. If you are making a bug fix or functionality change to Radius and do not have an associated issue link please create one now. --> - This pull request adds or changes features of Radius and has an approved issue (issue link required). <!-- Please update the following to link the associated issue. This is required for some kinds of changes (see above). --> Fixes: #6236 ## Auto-generated summary <!-- GitHub Copilot for docs will auto-generate a summary of the PR --> <!-- copilot:all --> ### <samp>🤖 Generated by Copilot at 4cbfd98</samp> ### Summary 🧪📝🚀 <!-- 1. 🧪 for updating the test case 2. 📝 for adding a more helpful error message 3. 🚀 for improving the user experience of the CLI --> Improve error handling and testing for `resource list` command. Add a clearer error message for invalid applications and update the corresponding test case. > _`Run` test updated_ > _Error message more helpful_ > _Autumn of bug fixes_ ### Walkthrough * Improve error message for invalid application name in `list` command ([link](https://github.com/radius-project/radius/pull/6281/files?diff=unified&w=0#diff-b21dcd67dbc0d24e0f8bba90701dfcfb5736cf40427547c7a7ccb91478f262cfL160-R160)) * Update test case for `Run` function in `list_test.go` to match new error message ([link](https://github.com/radius-project/radius/pull/6281/files?diff=unified&w=0#diff-d57c4c1535dd3783fc94937211b66a786a621683678bcefdef775626c9e22c5eL125-R125))
- Loading branch information