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

remove grpc deprication functions #551

Merged
merged 1 commit into from
May 3, 2024

Conversation

SchSeba
Copy link
Collaborator

@SchSeba SchSeba commented Apr 11, 2024

No description provided.

@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 8648539048

Details

  • 15 of 20 (75.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.09%) to 75.1%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/resources/server.go 13 18 72.22%
Totals Coverage Status
Change from base Build 8647219505: -0.09%
Covered Lines: 2060
Relevant Lines: 2743

💛 - Coveralls

@@ -271,17 +271,31 @@ func (rs *resourceServer) Start() error {
glog.Errorf("serving incoming requests failed: %s", err.Error())
}
}()
// Wait for server to start by launching a blocking connection
ctx, _ := context.WithTimeout(context.TODO(), serverStartTimeout)
conn, err := grpc.DialContext(
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

new version of the grpc doesn't make a connection when creating the client so to maintain the same functionally here we need to create the client and run a connect function that is a blocking one

Copy link
Contributor

@jaypipes jaypipes left a comment

Choose a reason for hiding this comment

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

I hit this with my vendor removal patch. ++

@SchSeba
Copy link
Collaborator Author

SchSeba commented May 3, 2024

Thanks!

merging this one

@SchSeba SchSeba merged commit 2c58dda into k8snetworkplumbingwg:master May 3, 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