Skip to content

Fix unmarshalling of Command and Entrypoint#14198

Merged
duglin merged 1 commit intomoby:masterfrom
cpuguy83:14170_fix_entrypoint_as_string
Jun 29, 2015
Merged

Fix unmarshalling of Command and Entrypoint#14198
duglin merged 1 commit intomoby:masterfrom
cpuguy83:14170_fix_entrypoint_as_string

Conversation

@cpuguy83
Copy link
Member

Closes #14170

@duglin
Copy link
Contributor

duglin commented Jun 26, 2015

@cpuguy83 do you know what broke this?

@cpuguy83
Copy link
Member Author

engine removal.

@cpuguy83
Copy link
Member Author

FYI, as is in master, this shows up as a quoted string instead of just a string.

@duglin
Copy link
Contributor

duglin commented Jun 26, 2015

LOL yea I figured, but I was just curious if there was a particular change that caused it (like the 'env' stuff') or just the overall churn of the rewrite. No biggie if you don't know - was just wondering.

Copy link
Contributor

Choose a reason for hiding this comment

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

Entrypoint is defined as a slice, why are you testing it as just a string? Is this for backwards compat?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, this is specifically what's broken that we are fixing.

@cpuguy83
Copy link
Member Author

Before it was just using engine.Env. Custom unmarshallimg (and type) was added as part of that. So it hasn't worked at all since then.

@cpuguy83
Copy link
Member Author

*as part of removing that

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@LK4D4
Copy link
Contributor

LK4D4 commented Jun 26, 2015

LGTM

@icecrime
Copy link
Contributor

LGTM: holding on merge given @duglin has open questions.

@cpuguy83 cpuguy83 force-pushed the 14170_fix_entrypoint_as_string branch from 0d7b71b to 17d6f00 Compare June 28, 2015 19:17
@duglin
Copy link
Contributor

duglin commented Jun 29, 2015

thanks!
LGTM

duglin added a commit that referenced this pull request Jun 29, 2015
Fix unmarshalling of Command and Entrypoint
@duglin duglin merged commit 40a41ff into moby:master Jun 29, 2015
@cpuguy83 cpuguy83 deleted the 14170_fix_entrypoint_as_string branch June 29, 2015 01:48
@calavera
Copy link
Contributor

cherry picked into 1.7.1

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