Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Conversation

cftorres
Copy link
Contributor

@cftorres cftorres force-pushed the FinalFSFix branch 2 times, most recently from 6dd53ee to 4785884 Compare August 15, 2017 19:50
@abbytiz
Copy link
Contributor

abbytiz commented Aug 16, 2017

LGTM

for _, layer := range layers {
layerTar := filepath.Join(tempLayerDir, layer)
if _, err := os.Stat(layerTar); err != nil {
glog.Infof("Did not unpack layer %s because no layer.tar found", layer)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why would a layer not have a layer.tar file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If it's an empty layer it only has a manifest and a metadata json file, but no contents to unpack

Copy link
Contributor

Choose a reason for hiding this comment

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

ahh, makes sense

@cftorres cftorres merged commit 38f78ae into GoogleContainerTools:master Aug 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make images sourced from IDs and tars convert to final filesystem

3 participants