Skip to content

cmd/ctr: show resolved image platform#1504

Merged
dmcgowan merged 1 commit intocontainerd:masterfrom
stevvooe:resolve-platforms
Sep 13, 2017
Merged

cmd/ctr: show resolved image platform#1504
dmcgowan merged 1 commit intocontainerd:masterfrom
stevvooe:resolve-platforms

Conversation

@stevvooe
Copy link
Copy Markdown
Member

Signed-off-by: Stephen J Day [email protected]

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #1504 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1504   +/-   ##
=======================================
  Coverage   40.82%   40.82%           
=======================================
  Files          23       23           
  Lines        2920     2920           
=======================================
  Hits         1192     1192           
  Misses       1451     1451           
  Partials      277      277

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 37d049d...ea8adf9. Read the comment docs.

@crosbymichael
Copy link
Copy Markdown
Member

LGTM

Comment thread images/image.go
platformSpecs = append(platformSpecs,
platforms.Normalize(ocispec.Platform{OS: image.OS, Architecture: image.Architecture}))
}
return nil, nil
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should that return an error or print a warning that the media type is unsupported?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this is part of the handlers which is designed to be called for all referenced, not all need to be handled and are simply ignored by returning nil

@dmcgowan
Copy link
Copy Markdown
Member

LGTM

@dmcgowan dmcgowan merged commit 4943771 into containerd:master Sep 13, 2017
@stevvooe stevvooe deleted the resolve-platforms branch September 13, 2017 23:47
mauriciovasquezbernal pushed a commit to kinvolk/containerd that referenced this pull request Nov 13, 2020
…olumes

Add option for ignoring volumes defined in images
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.

5 participants