Skip to content

Commit

Permalink
c8d/inspect: Include platform Variant
Browse files Browse the repository at this point in the history
Variant was mistakenly omitted in the returned V1Image.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit 2659f7f)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
  • Loading branch information
vvoland committed Jul 19, 2023
1 parent d4a26c1 commit 98a6422
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions daemon/containerd/image.go
Expand Up @@ -102,6 +102,7 @@ func (i *ImageService) GetImage(ctx context.Context, refOrID string, options ima
OS: ociimage.OS,
Architecture: ociimage.Architecture,
Created: derefTimeSafely(ociimage.Created),
Variant: ociimage.Variant,
Config: &containertypes.Config{
Entrypoint: ociimage.Config.Entrypoint,
Env: ociimage.Config.Env,
Expand Down

0 comments on commit 98a6422

Please sign in to comment.