Skip to content

Fix handling of --in-pod argument #918

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

Merged
merged 1 commit into from
Apr 28, 2024
Merged

Conversation

p12tic
Copy link
Collaborator

@p12tic p12tic commented Apr 28, 2024

Currently --in-pod handling is broken because the only way to set False is by providing empty argument like "--in-pod=". As of Python 3.7 the solution is to accept string and parse manually.

@p12tic
Copy link
Collaborator Author

p12tic commented Apr 28, 2024

This PR reuses ideas by @StaticRocket in #712. Thanks a lot for opening that PR.

Currently --in-pod handling is broken because the only way to set False
is by providing empty argument like "--in-pod=". As of Python 3.7 the
solution is to accept string and parse manually.

Co-authored-by: Randolph Sapp <[email protected]>
Signed-off-by: Povilas Kanapickas <[email protected]>
@p12tic p12tic merged commit 27e27e9 into containers:main Apr 28, 2024
8 checks passed
@p12tic p12tic deleted the fix-in-pod branch April 28, 2024 18:33
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.

1 participant