Skip to content

Use spf13/cobra for docker images#23292

Merged
thaJeztah merged 1 commit intomoby:masterfrom
yongtang:23211-spf13-cobra-images
Jun 7, 2016
Merged

Use spf13/cobra for docker images#23292
thaJeztah merged 1 commit intomoby:masterfrom
yongtang:23211-spf13-cobra-images

Conversation

@yongtang
Copy link
Copy Markdown
Member

@yongtang yongtang commented Jun 6, 2016

This fix is part of the effort to convert commands to spf13/cobra #23211.

Thif fix coverted command docker images to use spf13/cobra

NOTE: As part of this fix, a new function RequiresMaxArgs()
has been defined in cli/required.go. This func returns an
error if there is not at most max args

Signed-off-by: Yong Tang [email protected]

@vdemeester
Copy link
Copy Markdown
Member

LGTM 🐮

@yongtang yongtang force-pushed the 23211-spf13-cobra-images branch 2 times, most recently from 8ca9e71 to bbda620 Compare June 6, 2016 15:05
@cpuguy83
Copy link
Copy Markdown
Member

cpuguy83 commented Jun 6, 2016

LGTM

@LK4D4
Copy link
Copy Markdown
Contributor

LK4D4 commented Jun 6, 2016

@yongtang need rebase :/

@yongtang yongtang force-pushed the 23211-spf13-cobra-images branch from bbda620 to 5a6de27 Compare June 6, 2016 19:34
@yongtang
Copy link
Copy Markdown
Member Author

yongtang commented Jun 6, 2016

Thanks @vdemeester @cpuguy83 @LK4D4 for the review. The PR has been rebased and updated.

@yongtang yongtang force-pushed the 23211-spf13-cobra-images branch from 5a6de27 to ab07ed3 Compare June 7, 2016 12:42
@thaJeztah
Copy link
Copy Markdown
Member

test will be fixed by #23340

This fix is part of the effort to convert commands to spf13/cobra moby#23211.

Thif fix coverted command `docker images` to use spf13/cobra

NOTE: As part of this fix, a new function `RequiresMaxArgs()`
has been defined in `cli/required.go`. This func returns an
error if there is not at most max args

Signed-off-by: Yong Tang <[email protected]>
@yongtang yongtang force-pushed the 23211-spf13-cobra-images branch from ab07ed3 to 65a0034 Compare June 7, 2016 15:11
@thaJeztah
Copy link
Copy Markdown
Member

Userns is green, but didn't notify GitHub;

15:35:57 Archiving artifacts
15:35:58 Notifying endpoint 'HTTP:https://leeroy.dockerproject.org/notification/jenkins'
15:35:58 Finished: SUCCESS

@thaJeztah
Copy link
Copy Markdown
Member

LGTM

@thaJeztah thaJeztah merged commit 0841931 into moby:master Jun 7, 2016
@yongtang yongtang deleted the 23211-spf13-cobra-images branch June 8, 2016 02:04
dnephin pushed a commit to dnephin/docker that referenced this pull request Apr 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants