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

client: Monitor fallback only on unsupported rpc #248

Merged
merged 1 commit into from
Oct 14, 2021

Conversation

dave-tucker
Copy link
Collaborator

Falling back to a previous version of the monitor RPC should only happen
if we get a unsupported rpc error from ovsdb-server. Previously we
would fall back on context deadline exceeded which is not expected
behaviour

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

@coveralls
Copy link

coveralls commented Oct 14, 2021

Pull Request Test Coverage Report for Build 1343322902

  • 1 of 12 (8.33%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.1%) to 72.833%

Changes Missing Coverage Covered Lines Changed/Added Lines %
client/client.go 1 12 8.33%
Totals Coverage Status
Change from base Build 1343316228: 0.1%
Covered Lines: 4059
Relevant Lines: 5573

💛 - Coveralls

Copy link
Contributor

@trozet trozet left a comment

Choose a reason for hiding this comment

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

/lgtm

Falling back to a previous version of the monitor RPC should only happen
if we get a `unsupported rpc` error from ovsdb-server. Previously we
would fall back on `context deadline exceeded` which is not expected
behaviour

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
@dave-tucker dave-tucker merged commit d84057e into ovn-org:main Oct 14, 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