Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share code between Fly and K8s runtimes #2788

Merged
merged 2 commits into from
Sep 18, 2024
Merged

Conversation

jonatanklosko
Copy link
Member

Follow up to #2756.


@doc """
Returns a new runtime instance.
"""
@spec new(config :: map(), req :: Req.Request.t()) :: t()
def new(config, req) do
Copy link
Member Author

Choose a reason for hiding this comment

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

@mruoss I missed that before, I think preferably we don't want to pass the whole req struct when building the runtime, and rather encapsulate the necessary logic within the runtime itself (even if we do the same elsewhere) :)

Copy link
Contributor

Choose a reason for hiding this comment

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

I see. Makes sense.

Copy link

github-actions bot commented Sep 18, 2024

Uffizzi Preview deployment-56414 was deleted.

@jonatanklosko jonatanklosko merged commit b0ab056 into main Sep 18, 2024
6 checks passed
@jonatanklosko jonatanklosko deleted the jk-remote-runtime branch September 18, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants