-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update RequireResource to handle duplicate short names and proper fully qualified names (also make life a little better for windows file system contributors) #7134
Conversation
…s the same linefeed as the test expects Signed-off-by: Josh <[email protected]>
…ification if duplicates are found Signed-off-by: Josh <[email protected]>
@jhandel - Thanks for your contribution. |
Added new clivalidation_test.go with a test for RequireResrouceType Also Updated delete_test, list_test, and show_test in cli/resources so that the arguments tests for those commands would include testing for ambigous types Signed-off-by: Josh <[email protected]>
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
…ly qualified names (also make life a little better for windows file system contributors) (radius-project#7134) # Description Updated clivalidation.RequireResourceType so that it can take either fully qualified names or short names.. and if a short name is used and there are duplicate short names display the list of matching short names. I also added a .gitattributes to the following folders so that their test files would maintain lf line ends instead of crlf line ends when cloned or pulled into a windows filesystem. * pkg/corperp/renderers/containers/testdata * pkg/recipes/terraform/config/testdata * pkg/recipes/terraform/testdata/.terraform/modules ## Type of change This pull request fixes a bug in Radius and has an approved issue Fixes: radius-project#7070 This pull request fixes a bug in Radius but its not an approved issue Fixes: radius-project#7121 --------- Signed-off-by: Josh <[email protected]>
…ly qualified names (also make life a little better for windows file system contributors) (radius-project#7134) # Description Updated clivalidation.RequireResourceType so that it can take either fully qualified names or short names.. and if a short name is used and there are duplicate short names display the list of matching short names. I also added a .gitattributes to the following folders so that their test files would maintain lf line ends instead of crlf line ends when cloned or pulled into a windows filesystem. * pkg/corperp/renderers/containers/testdata * pkg/recipes/terraform/config/testdata * pkg/recipes/terraform/testdata/.terraform/modules ## Type of change This pull request fixes a bug in Radius and has an approved issue Fixes: radius-project#7070 This pull request fixes a bug in Radius but its not an approved issue Fixes: radius-project#7121 --------- Signed-off-by: Josh <[email protected]> Signed-off-by: willdavsmith <[email protected]>
Description
Updated clivalidation.RequireResourceType so that it can take either fully qualified names or short names.. and if a short name is used and there are duplicate short names display the list of matching short names.
I also added a .gitattributes to the following folders so that their test files would maintain lf line ends instead of crlf line ends when cloned or pulled into a windows filesystem.
Type of change
This pull request fixes a bug in Radius and has an approved issue
Fixes: #7070
This pull request fixes a bug in Radius but its not an approved issue
Fixes: #7121