Skip to content

Make Any type an interface#32

Merged
mxpv merged 1 commit intocontainerd:mainfrom
dmcgowan:any-interface
Mar 21, 2022
Merged

Make Any type an interface#32
mxpv merged 1 commit intocontainerd:mainfrom
dmcgowan:any-interface

Conversation

@dmcgowan
Copy link
Copy Markdown
Member

Make the any type an interface which supports both Any structs from
Gogo protobuf and Google protobuf as well as a typeurl implementation.

Make the any type an interface which supports both Any structs from
Gogo protobuf and Google protobuf as well as a typeurl implementation.

Signed-off-by: Derek McGowan <[email protected]>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 21, 2022

Codecov Report

❌ Patch coverage is 83.33333% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.30%. Comparing base (fc3423a) to head (08bcf63).
⚠️ Report is 43 commits behind head on main.

Files with missing lines Patch % Lines
types.go 83.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #32      +/-   ##
==========================================
+ Coverage   59.63%   63.30%   +3.66%     
==========================================
  Files           1        1              
  Lines         109      109              
==========================================
+ Hits           65       69       +4     
+ Misses         37       33       -4     
  Partials        7        7              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kzys
Copy link
Copy Markdown
Member

kzys commented Mar 21, 2022

@mxpv PTAL since you've reviewed #31.

@mxpv mxpv merged commit 052dc4c into containerd:main Mar 21, 2022
kzys pushed a commit to kzys/imgcrypt that referenced this pull request Mar 22, 2022
typeurl.MarshalAny returns typeurl.Any since
containerd/typeurl#32.

Signed-off-by: Kazuyoshi Kato <[email protected]>
kzys pushed a commit to kzys/imgcrypt that referenced this pull request Mar 22, 2022
typeurl.MarshalAny returns typeurl.Any since
containerd/typeurl#32.

Signed-off-by: Kazuyoshi Kato <[email protected]>
kzys pushed a commit to kzys/typeurl that referenced this pull request Mar 24, 2022
Make Any type an interface

Signed-off-by: Kazuyoshi Kato <[email protected]>
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