-
Notifications
You must be signed in to change notification settings - Fork 87
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
Fix Delete application confirmation message points to the workspace but says environment #7089 #7095
Conversation
Thanks for the contribution @jhandel! For #7089, it's indeed a bug where it says "environment" when the value printed is the workspace name. Although, instead of updating the label I think it might be better to update the value to the environment name. We're trying to make workspaces an advanced concept that only need to be referenced/used if you need to opt-into the complexity of managing multiple environments/installations of Radius from a single machine. For the 99% case we want applications/environments to be the main resources and concepts users interact with. I think a great solution to the bug in #7089 would be to update https://github.com/radius-project/radius/blob/main/pkg/cli/cmd/app/delete/delete.go#L146 to use the environment name instead of the workspace name, and keep the string as-is. Thanks again for taking a crack at this! We do bi-weekly triage and you caught the issue before we could take a look at possible fixes and post a reply. Very much appreciate the pro-active fixes! |
Thanks for the feedback.. I have parsed out the environment name from the Workspace.Environment property using the resource parsing lib. Though this brings up the question on if we should be adding env as an optional attribute to the delete command like resource group is. Just food for thought. (also eventually I will figure out how to sign my commits properly from inside of VS code without having to do the rebase and force commit trick after messing it up lol... ) |
…ce but says environment radius-project#7089 Signed-off-by: Josh Handel <josh@liveoak.ws> Signed-off-by: Josh <josh@liveoak.ws>
Signed-off-by: Josh josh@liveoak.ws Signed-off-by: Josh <josh@liveoak.ws>
thanks for catching the typo. Co-authored-by: Shalabh Mohan Shrivastava <shalabhms@gmail.com> Signed-off-by: Josh <josh@liveoak.ws>
@jhandel - thanks for making the contribution . Could you please update the description which is pointing to your earlier commit changes? |
done.... and thank you for the review of the PR. |
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... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution @jhandel !
…ut says environment radius-project#7089 (radius-project#7095) Signed-off-by: Josh <josh@liveoak.ws> # Description Parse out the environment name from the Workspace.Environment property using the resources library. ## Type of change This pull request fixes a bug in Radius and has an approved issue Fixes: radius-project#7089 --------- Signed-off-by: Josh Handel <josh@liveoak.ws> Signed-off-by: Josh <josh@liveoak.ws> Signed-off-by: Josh josh@liveoak.ws Co-authored-by: Shalabh Mohan Shrivastava <shalabhms@gmail.com>
Signed-off-by: Josh josh@liveoak.ws
Description
Parse out the environment name from the Workspace.Environment property using the resources library.
Type of change
This pull request fixes a bug in Radius and has an approved issue
Fixes: #7089