Skip to content
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

Fixed incorrect message formatting for env extension issue [#87]: #101

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

NellyHargeliya
Copy link
Contributor

  • remove information about ENV from messages, left message about parameter and parameter component
  • add test for a case with parameters without the component

- remove information about ENV from messages, left message about parameter and parameter component
- add test for a case with parameters without the component
@NellyHargeliya NellyHargeliya linked an issue Aug 11, 2023 that may be closed by this pull request
Copy link
Contributor

@akranga akranga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better naming could be * Setting parameter ingress.hosts (component: test1)

Currently * Setting parameter ingress.hosts test1 is a confusing. Feel free to move component to the new line if you feel the single line maybe too long

* Setting parameter ingress.hosts
   component: test1

@@ -46,12 +48,12 @@ setup() {
@test "ask env: should print messages if parameters need to set for different component discriminators" {
run ask env "ARGO_HOST" -m "parameter ingress.hosts test1" +empty -d "$DOTENV_FILE" -ask-env --non-interactive
assert_success
assert_output --partial "* Setting parameter ingress.hosts test1, ARGO"
assert_output --partial "* Setting parameter ingress.hosts test1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NellyHargeliya please rename implementation to better naming * Setting parameter ingress.hosts (component: test1)`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

env extension: component discriminator usability issue
2 participants