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
runtime: Update hypervisor generated code #8520
runtime: Update hypervisor generated code #8520
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This lgtm, thanks. Let's see if CI will catch something.
bc0c9de
to
9206c18
Compare
Adding |
f933433
to
e10e918
Compare
We've got this working as best we can test with the cloud-api-adaptor with a re-vendor, so I think this is ready to go in now. |
/test |
False alarm on the |
conn *grpc.ClientConn | ||
client pb.HypervisorClient | ||
conn net.Conn | ||
client pb.HypervisorService |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stevenhorsman HypervisorClient (struct) implements HypervisorService (Interface), so it compiles. Any special reason to replace the type from the struct to interface?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HypervisorClient isn't in this code base anymore? That was a grpc generated code IIRC?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmmm there is a hypervisorClient (lower case 'h') in 613c75b#diff-0df604aba3c29a070a7ed40486ce8193ecb2a36c2dabf91bb29e7627cff969d8R52 . This should be a private date structure so never mind.
|
Update to use ttrpc_out instead of grpc_out Fixes: kata-containers#8519 Signed-off-by: stevenhorsman <steven@uk.ibm.com>
- Update the remote hypervisor code to match the re-genned code for the ttrpc Hypervisor Service Fixes: kata-containers#8519 Signed-off-by: stevenhorsman <steven@uk.ibm.com>
e10e918
to
47b8c31
Compare
Sorry the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @stevenhorsman !
/test |
Update to use ttrpc_out instead of grpc_out
Fixes: #8519