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

Updating CallInfo to be more in line with Context API. #460

Merged
merged 1 commit into from
Mar 10, 2015

Conversation

alainjobart
Copy link
Contributor

And remove all the cast madness.
@sougou @enisoc

log.CacheInvalidations,
log.ErrorStr(),
stats.Method,
remoteAddr,
Copy link
Contributor

Choose a reason for hiding this comment

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

This may break some backward compatibility. I checked that querylogz.go doesn't use this, but others may.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why? there is no change here, really. RemoteAddr() and Username would just return "" if there was no context before. So it's just the exact same result as before... Or am I missing something?

alainjobart added a commit that referenced this pull request Mar 10, 2015
Updating CallInfo to be more in line with Context API.
@alainjobart alainjobart merged commit 7927212 into master Mar 10, 2015
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