Skip to content

libcontainerd: Upgrade to typeurl/v2#45094

Merged
vvoland merged 1 commit intomoby:masterfrom
vvoland:use-typeurl2
Mar 8, 2023
Merged

libcontainerd: Upgrade to typeurl/v2#45094
vvoland merged 1 commit intomoby:masterfrom
vvoland:use-typeurl2

Conversation

@vvoland
Copy link
Copy Markdown
Contributor

@vvoland vvoland commented Mar 1, 2023

Preemptively upgrade the typeurl to v2, to avoid compilation errors once we upgrade to containerd v1.7.
v1.7 migrated off gogo/protobuf and changed the protobuf Any to one that's not supported by the vendored typeurl.UnmarshalAny, which is used for example here:

v, err := typeurl.UnmarshalAny(m.Data)

- What I did

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@thaJeztah thaJeztah added this to the v-next milestone Mar 3, 2023
In preparation for containerd v1.7 which migrates off gogo/protobuf
and changes the protobuf Any type to one that's not supported by our
vendored version of typeurl.

This fixes a compile error on usages of `typeurl.UnmarshalAny` when
upgrading to containerd v1.7.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
@AkihiroSuda AkihiroSuda requested a review from thaJeztah March 8, 2023 10:46
@vvoland
Copy link
Copy Markdown
Contributor Author

vvoland commented Mar 8, 2023

CI is happy, I will go ahead and merge this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants