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

Adds env features from original watchdog #31

Closed

Conversation

thomasjpfan
Copy link

@thomasjpfan thomasjpfan commented Oct 2, 2018

Signed-off-by: Thomas Fan [email protected]

Adds the additional cgi headers into the environment, mirroring the original watchdog.

Description

Adds additional environment variables in getEnvironment.

Motivation and Context

For of-watchdog to be backwards compatibility with the original watchdog, the additional headers feature in CGI mode should be included.

Partially addresses #25 by adding more unit tests from mode=serializing.

How Has This Been Tested?

The unit tests from the original watchdog regarding the headers was migrated.

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the code style of this project.
  • I've read the CONTRIBUTION guide
  • I have signed-off my commits with git commit -s
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@derek derek bot added the new-contributor label Oct 2, 2018
@thomasjpfan thomasjpfan force-pushed the serializing-fork-headers branch from f436f1f to 0e53c27 Compare October 2, 2018 01:21
@thomasjpfan
Copy link
Author

Closing this for now to adapt to openfaas's workflow.

@thomasjpfan thomasjpfan closed this Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant