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

Anonymize logs #31

Merged
merged 3 commits into from
Dec 3, 2019
Merged

Anonymize logs #31

merged 3 commits into from
Dec 3, 2019

Conversation

pboothe
Copy link
Contributor

@pboothe pboothe commented Dec 3, 2019

This change is Reviewable

@coveralls
Copy link

coveralls commented Dec 3, 2019

Pull Request Test Coverage Report for Build 163

  • 7 of 7 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 153: 0.0%
Covered Lines: 519
Relevant Lines: 519

💛 - Coveralls

Copy link
Contributor

@stephen-soltesz stephen-soltesz left a comment

Choose a reason for hiding this comment

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

Reviewable status: 1 change requests, 0 of 1 approvals obtained (waiting on @pboothe and @stephen-soltesz)


demuxer/flowkey.go, line 22 at r1 (raw file):

}

func (f *FlowKey) String(anon anonymize.IPAnonymizer) string {

Previously String() satisfied the stringer type and allowed it to work within Printfs automatically. With a parameter the function name is confusing, by setting one expectation about String but not working like it usually does.

Please let me know what you think.

Copy link
Contributor

@stephen-soltesz stephen-soltesz left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 3 of 3 files at r2.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @pboothe)

@pboothe pboothe merged commit 419b929 into master Dec 3, 2019
@pboothe pboothe deleted the anonymize-logs branch December 3, 2019 21:33
@stephen-soltesz
Copy link
Contributor

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.

3 participants