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

bump dependencies #578

Merged
merged 2 commits into from
Jul 28, 2024

Conversation

adrianchiris
Copy link
Contributor

@adrianchiris adrianchiris commented Jul 24, 2024

@coveralls
Copy link
Collaborator

coveralls commented Jul 24, 2024

Pull Request Test Coverage Report for Build 10092515578

Details

  • 4 of 4 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.08%) to 75.268%

Totals Coverage Status
Change from base Build 10089765557: 0.08%
Covered Lines: 2103
Relevant Lines: 2794

💛 - Coveralls

@adrianchiris
Copy link
Contributor Author

@SchSeba @zeeke PTAL mellanox ci failure is un-related

@adrianchiris
Copy link
Contributor Author

@Eoghan1232 PTAL if you got time :)

Copy link
Collaborator

@Eoghan1232 Eoghan1232 left a comment

Choose a reason for hiding this comment

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

lgtm!

@@ -265,38 +264,14 @@ func (rs *resourceServer) Start() error {
}
pluginapi.RegisterDevicePluginServer(rs.grpcServer, rs)

// start serving from grpcServeer
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: server

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thx, some of my keyboard switches are double typing :\

go func() {
err := rs.grpcServer.Serve(lis)
if err != nil {
glog.Errorf("serving incoming requests failed: %s", err.Error())
}
}()

conn, err := grpc.NewClient(
Copy link
Collaborator

Choose a reason for hiding this comment

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

we don't want to wait for the server to start?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we dont. thats an anti-pattern, see commit msg with relevant link.

Signed-off-by: adrianc <[email protected]>
WithBlock() dial option is deprecated, recommendation
is to let the caller handle failures with retry see[1]

this change is needed to sort out lint issues in ci.

[1] https://github.com/grpc/grpc-go/blob/master/Documentation/anti-patterns.md#especially-bad-using-deprecated-dialoptions

Signed-off-by: adrianc <[email protected]>
Copy link
Collaborator

@SchSeba SchSeba left a comment

Choose a reason for hiding this comment

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

LGTM

@SchSeba SchSeba merged commit ed1c14d into k8snetworkplumbingwg:master Jul 28, 2024
10 of 11 checks passed
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.

4 participants