Skip to content

Re-enable some conversion for darwin-amd64 platform#34745

Merged
yongtang merged 1 commit intomoby:masterfrom
simonferquel:fix-pkg-archive-conversion
Sep 6, 2017
Merged

Re-enable some conversion for darwin-amd64 platform#34745
yongtang merged 1 commit intomoby:masterfrom
simonferquel:fix-pkg-archive-conversion

Conversation

@simonferquel
Copy link
Contributor

With introduction of the convert linter, some convertion that are mandatory for some platforms supported by the cli (but not the daemon) have been erronously removed. Especially, on darwin-amd64, stat_t.Rdev is an int32 and cannot be converted implicitly to uint64.
- What I did
Re-enabled convertion for this case
- How I did it
Very simple code change
- How to verify it
Vendor this PR in the CLI project and cross compile

Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

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

LGTM 🐮

Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

LGTM if green

@ndrewnee
Copy link

ndrewnee commented Sep 6, 2017

+1. Closes #34726

Copy link
Member

@yongtang yongtang left a comment

Choose a reason for hiding this comment

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

LGTM

@yongtang
Copy link
Member

yongtang commented Sep 6, 2017

All tests passed 👍

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