Repository navigation
Propagate platform to all marshals. - #3226
Conversation
👷 Deploy request for cloak-docs pending review.Visit the deploys page to approve it
|
|
EDIT: I just remembered that you already dealt with the same issue in the other PR. So I'll just rebase on top of that one once it's merged, nevermind |
10cb52d to
4c36f50
Compare
Signed-off-by: Erik Sipsma <[email protected]>
4c36f50 to
d651082
Compare
vito
left a comment
There was a problem hiding this comment.
Thanks for fixing this! The changes look great.
Looking forward to multi-platform support being merged, I'm guessing its tests would have caught this. (It's also just, like, cool.)
| } | ||
|
|
||
| dirSt, dirRel, err := source.Decode() | ||
| dirSt, dirRel, dirPlatform, err := source.Decode() |
There was a problem hiding this comment.
Good thing we had the return value budget for this. 😂
| } | ||
|
|
||
| func (s *containerSchema) exec(ctx *router.Context, parent *Container, args containerExecArgs) (*Container, error) { | ||
| return parent.Exec(ctx, s.gw, s.platform, args.Args, args.Opts) |
There was a problem hiding this comment.
I like that this went away, it felt a little odd that this was the only thing that needed it. (Turns out...)
Yeah we gotta settle on which approach to take (discussion) and at this point it's probably worth just rebasing it entirely on the new API since the old one's expiration date is approaching fast. Fortunately this PR is a little bit of a layup for all that. |
Signed-off-by: Erik Sipsma [email protected]
Should fix the problems when running from macos.
Opened an issue for automating that: #3225
But for now verified by running directly from macos.
This will also be a little bit of setup for integration the multiplatform PR w/ the new API, so no throwaway here hopefully.
@vito the rebase w/ your PRs will be painful sadly. I had one important comment on your PR (here), but let's try to merge that first then I'll do the rebase on this one if possible.