Skip to content

Use spf13/cobra for docker rename#23290

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

Use spf13/cobra for docker rename#23290
vdemeester merged 1 commit intomoby:masterfrom
yongtang:23211-spf13-cobra-rename

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 rename to use spf13/cobra

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

@vdemeester
Copy link
Copy Markdown
Member

LGTM 🐮
Need a rebase though 😇

@yongtang yongtang force-pushed the 23211-spf13-cobra-rename branch from f0b88d1 to 9b9cea4 Compare June 6, 2016 12:30
@yongtang
Copy link
Copy Markdown
Member Author

yongtang commented Jun 6, 2016

Thanks @vdemeester. The PR has been rebased.

@thaJeztah
Copy link
Copy Markdown
Member

Oh, fun, just stumbled on a bug; while testing this. Opening an issue #23319

@thaJeztah
Copy link
Copy Markdown
Member

unfortunately needs another rebase (but that's kinda expected 😄)

LGTM after a rebase!

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

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

Signed-off-by: Yong Tang <[email protected]>
@yongtang yongtang force-pushed the 23211-spf13-cobra-rename branch from 9b9cea4 to 70f7ccb Compare June 6, 2016 19:39
@yongtang
Copy link
Copy Markdown
Member Author

yongtang commented Jun 6, 2016

@thaJeztah No problem. Just rebased. Guess will need several round to get all merged.

@thaJeztah
Copy link
Copy Markdown
Member

Yes, it's probably all because the api/client/commands.go, but shouldn't be a difficult one. Thanks so much @yongtang, you're really helping us out!

@vdemeester vdemeester merged commit e83dad0 into moby:master Jun 7, 2016
@yongtang yongtang deleted the 23211-spf13-cobra-rename branch June 7, 2016 12:25
yongtang added a commit to yongtang/docker that referenced this pull request Jun 7, 2016
At the time the pull request:

Use spf13/cobra for docker rename moby#23290

was created, there was an issue in cobra so the test
`DockerSuite.TestRenameInvalidName` was updated.

Now the issue in cobra has been fixed in:
Use spf13/cobra for docker import moby#23269

so the test related to  `docker rename`
(`DockerSuite.TestRenameInvalidName`) needs to be reverted back.

This fix is related to spf13/cobra moby#23211.

Signed-off-by: Yong Tang <[email protected]>
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.

4 participants