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

Provide environment variables from outside to Login(./.)/LoginCheck(./.) #1766

Closed
wants to merge 1 commit into from

Conversation

marcusholl
Copy link
Member

We have to support environment variables when dealing with cf login.

Here we provide the environment from the outside to Login(./.)/LoginCheck(./.).

This PR competes with #1760.

This PR is not ready for being merged since we don't reset the environment.

I would like to suggest to discuss the possible approaches in PR #1760

}
defer func() {
if len(oldEnv) > 0 {
// TODO prepare for resetting to old env
Copy link

Choose a reason for hiding this comment

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

TODO found

}
defer func() {
if len(oldEnv) > 0 {
// TODO prepare for resetting to old env
Copy link

Choose a reason for hiding this comment

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

TODO found

@marcusholl
Copy link
Member Author

Superseded by #1771

@marcusholl marcusholl closed this Jul 9, 2020
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