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

Update in-memory namespace on use #172

Merged
merged 1 commit into from
Jun 24, 2024
Merged

Conversation

gvnnn
Copy link
Contributor

@gvnnn gvnnn commented Jun 20, 2024

Ensure the in-memory state of a must-gather/inspect's path and project are consistent with the context being used, regardless of wether the context is new.

Fixes #171

As I don't have the full context on the use of the global variables in the vars package, I advise reviewing if updating vars.Namespace has any impact elsewhere.

Unit tests are provided.

Ensure the in-memory state of a must-gather/inspect's path and
project are consistent with the context being used, regardless of
wether the context is new.

Fixes gmeghnag#171
@gmeghnag gmeghnag merged commit c89bb12 into gmeghnag:main Jun 24, 2024
1 check passed
@gvnnn gvnnn deleted the print-namespace branch June 24, 2024 12:37
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.

Output does not match current project on first use
2 participants