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

Wrong setting for disabling output buffering #1635

Closed
streamnsight opened this issue Jul 18, 2022 · 4 comments
Closed

Wrong setting for disabling output buffering #1635

streamnsight opened this issue Jul 18, 2022 · 4 comments

Comments

@streamnsight
Copy link

the code here:

podTemplateSpec.Spec.Containers[i].Env = append(

says it set the PYTHONUNBUFFERED to true to disable output buffering, but it does the opposite, setting it to "0"

and that prevents anyone from actually setting it to 1 since those override any env set by the user.

@streamnsight
Copy link
Author

a work around is to use the python -u flag in the command itself.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@tenzen-y
Copy link
Member

Thank you for creating this issue. This was fixed by #1860.

/close

@google-oss-prow
Copy link

@tenzen-y: Closing this issue.

In response to this:

Thank you for creating this issue. This was fixed by #1860.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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

No branches or pull requests

2 participants