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

golang-http: update example to adapt latest break change #99

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

spacewander
Copy link
Contributor

For behavior change:
Change OnLogDownstreamStart, OnLogDownstreamPeriodic and OnLog methods so that user can get the request/response's headers and trailers when producing access log.

For behavior change:
Change ``OnLogDownstreamStart``, ``OnLogDownstreamPeriodic`` and ``OnLog`` methods so that user can get the request/response's
    headers and trailers when producing access log.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
Copy link
Member

@phlax phlax left a comment

Choose a reason for hiding this comment

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

@spacewander changes lgtm, but currently the golang examples arent tested

the reason for this is that the go.mod setup was a bit hacky - involving referencing modules at ../../../../go.mod type of thing - my limited attempts to resolve when i moved the examples here didnt work out

any help getting this back working would be really appreciated

@phlax phlax merged commit 0c75577 into envoyproxy:main Aug 22, 2024
4 checks passed
@spacewander
Copy link
Contributor Author

@phlax
I checked the https://github.com/envoyproxy/examples/blob/main/golang-network/simple/go.mod and it doesn't use ../../../../go.mod anymore. Maybe it's time to try to test golang examples again? Feel free to let me know if I can help you.

@phlax
Copy link
Member

phlax commented Aug 23, 2024

i think its not there because i removed it - im not sure the example works correctly - but i can try again

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