-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
chore: Update description for container env var option to mention debug mode #5787
Conversation
@@ -166,7 +166,8 @@ def invoke_common_options(f): | |||
click.option( | |||
"--container-env-vars", | |||
type=click.Path(exists=True), | |||
help="JSON file containing environment variables to be set within the container environment", | |||
help="JSON file containing environment variables to be set within the container " | |||
"environment when used in a debugging session locally.", |
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.
do we need to mention that these are extra environment variables and not a replacement for --env-vars
parameter?
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.
Maybe something like this can help make this a little more clear:
JSON file containing additional environment variables to be set within the container when used in a debugging session locally.
Adding the word "additional" and removed "environment"
Which issue(s) does this change fix?
None.
Why is this change necessary?
Currently, the option to pass in environment variables to local related containers are scoped to only happen when a debugging option (eg.
--debug-port
) is passed in. The description does not mention this, potentially causing confusion as to why the option is not working.How does it address the issue?
Mentions that the option sends environment variables only in a debugging session.
What side effects does this change have?
None.
Mandatory Checklist
PRs will only be reviewed after checklist is complete
make pr
passesmake update-reproducible-reqs
if dependencies were changedBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.