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

server: Handle uninitalized maps in mutateInsert #246

Merged
merged 1 commit into from
Oct 14, 2021

Conversation

dave-tucker
Copy link
Collaborator

A rework of #237

Signed-off-by: Dave Tucker dave@dtucker.co.uk

@coveralls
Copy link

coveralls commented Oct 14, 2021

Pull Request Test Coverage Report for Build 1341553328

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • 22 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.3%) to 72.901%

Files with Coverage Reduction New Missed Lines %
cache/cache.go 3 71.69%
client/client.go 19 67.5%
Totals Coverage Status
Change from base Build 1334632746: -0.3%
Covered Lines: 4003
Relevant Lines: 5491

💛 - Coveralls

Copy link
Collaborator

@jcaamano jcaamano left a comment

Choose a reason for hiding this comment

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

Being picky about names & descriptions, sorry!

I would change the existing test insert key value pairs on nil map to insert key value pairs on nil value

I guess it's worth it for me to change these names & descriptions since I was actually confused by it when I added the test.

server/mutate_test.go Outdated Show resolved Hide resolved
server/mutate_test.go Outdated Show resolved Hide resolved
A rework of ovn-org#237

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
@dave-tucker
Copy link
Collaborator Author

@jcaamano don't be sorry. they were all good comments and I've just addressed them 😄

@jcaamano
Copy link
Collaborator

/lgtm !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants