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

Prevent acceptance context from clearing extra_env #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Sharpie
Copy link
Contributor

@Sharpie Sharpie commented May 7, 2014

Provider-specific contexts are usually included before the acceptance context.
This meant that when acceptance defined extra_env to be an empty hash, any
environment variables set by the provider context were lost.

This patch removes the empty hash definition from acceptance and instead guards
the use of extra_env with defined?.

Provider-specific contexts are usually included before the acceptance context.
This meant that when acceptance defined `extra_env` to be an empty hash, any
environment variables set by the provider context were lost.

This patch removes the empty hash definition from acceptance and instead guards
the use of `extra_env` with `defined?`.
@Sharpie
Copy link
Contributor Author

Sharpie commented May 29, 2014

@mitchellh Any thoughts about this? extra_env is pretty much useless at the moment.

@Sharpie
Copy link
Contributor Author

Sharpie commented Dec 10, 2014

@mitchellh Ping again. Any objections to merging this patch?

@hashicorp-cla
Copy link

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.

@soapy1 soapy1 changed the base branch from master to main October 16, 2020 22:07
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.

2 participants