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

Revert orig_environ fix in command controllers #1855

Merged

Conversation

Chris-Peterson444
Copy link
Contributor

@Chris-Peterson444 Chris-Peterson444 commented Oct 25, 2023

This reverts commit 39f1ea9. The fix proposed in this patch caused more issues than it fixed. We will have to revisit this in a more nuanced way in the future. In the meantime users can make use of env directly to strip/modify the subcommand environment.

@dbungert
Copy link
Collaborator

Reverting the merge also reverts 8f28063, some unrelated test-only changes. I'd rather we revert just 39f1ea9

…commands"

This reverts commit 39f1ea9. The fix proposed
in this patch caused more issues than it fixed. We will have to revisit this in
a more nuanced way in the future. In the meantime users can make use of env
directly to strip/modify the subcommand environment.
@Chris-Peterson444
Copy link
Contributor Author

Good catch. Fixed to only revert 39f1ea9, thanks!

This commit re-adds some of the shared mock fields for testing
and removes a bad import from test_snaplist. These are changes
that shouldn't have been part of the previously reverted patch:
0a70a96
@Chris-Peterson444 Chris-Peterson444 merged commit 4dfdc80 into canonical:main Oct 25, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants