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

Moves logic from os_env from initialize phase to runtime phase #2072

Merged
merged 1 commit into from
Aug 15, 2017

Conversation

chris-rock
Copy link
Contributor

While #2070 addresses an issue where os_env is called during inspec check the solution was not great since we need to add special mock handling. This PR is the second iteration that moves the logic to runtime instead of object creation time.

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
Copy link
Contributor

@adamleff adamleff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this cleaner implementation, @chris-rock.

@adamleff adamleff merged commit 1a904ea into master Aug 15, 2017
@adamleff adamleff deleted the chris-rock/os-mock-setup branch August 15, 2017 17:46
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.

None yet

2 participants