Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 24, 2020. It is now read-only.

Conversation

@blixtra
Copy link
Contributor

@blixtra blixtra commented Nov 14, 2015

We've had a cat-manifest for the ImageManifest but not for the PodManifest. This adds that missing functionality.

There is also a bit of related refactoring included.

Should close issue #1730

rkt/pods.go Outdated
Copy link
Member

Choose a reason for hiding this comment

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

For consistency, we should return lower-cased errors here.

@blixtra blixtra force-pushed the cat-podmanifest-cmd branch 2 times, most recently from f47da88 to f9c96dc Compare November 16, 2015 15:38
@blixtra
Copy link
Contributor Author

blixtra commented Nov 16, 2015

Added tests and made @iaguis suggested change.

@iaguis
Copy link
Member

iaguis commented Nov 16, 2015

Tests fail :(

rkt/enter.go Outdated
Copy link
Member

Choose a reason for hiding this comment

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

If you print the error direcly from the function it will be lower-cased, can you prefix it with some meaningful text?

We've had a cat-manifest for the ImageManifest but not for the
PodManifest. This adds that missing functionality.

Also added functional tests which required moving the previously wrongly
named TestCatManifest to TestImageCatManifest.

fixes rkt#1730
@blixtra blixtra force-pushed the cat-podmanifest-cmd branch from f9c96dc to 6393783 Compare November 16, 2015 17:27
@iaguis
Copy link
Member

iaguis commented Nov 17, 2015

LGTM

iaguis added a commit that referenced this pull request Nov 17, 2015
@iaguis iaguis merged commit 2b2c9cb into rkt:master Nov 17, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants