containerd / imgcrypt

OCI Image Encryption Package
Apache License 2.0
355 stars 46 forks source link

images: prepare for typeurl.Any #72

Closed kzys closed 2 years ago

kzys commented 2 years ago

typeurl.MarshalAny returns typeurl.Any since https://github.com/containerd/typeurl/pull/32.

Signed-off-by: Kazuyoshi Kato katokazu@amazon.com

stefanberger commented 2 years ago

It passes the tests so it doesn't seem to have any side effects...

kzys commented 2 years ago

It passes the tests so it doesn't seem to have any side effects...

Yes. fromAny() is essentially no-op since this package is only passing *types.Any. This will help changes like https://github.com/containerd/containerd/pull/6706.