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

cache: Return IndexExistsError immediately #182

Merged
merged 1 commit into from
Jul 1, 2021

Conversation

dave-tucker
Copy link
Collaborator

Don't put them in an array of errs and return that because it can't be
type asserted back to IndexExistsError and, in turn, won't manifest as an ovsdb.ConstraintViolation in the client.

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

Don't put them in an array of errs and return that because it can't be
type asserted back to IndexExistsError

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

/cc @jcaamano thanks for finding this one!

@coveralls
Copy link

Pull Request Test Coverage Report for Build 989766351

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • 9 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.08%) to 75.874%

Files with Coverage Reduction New Missed Lines %
cache/cache.go 9 75.39%
Totals Coverage Status
Change from base Build 968814293: -0.08%
Covered Lines: 3082
Relevant Lines: 4062

💛 - Coveralls

@dave-tucker dave-tucker removed the bug label Jul 1, 2021
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.

/lgtm

@dave-tucker dave-tucker merged commit 4f9fd11 into ovn-org:main Jul 1, 2021
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.

3 participants