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

fix(internal): Add sanity check for empty runtime #1915

Merged

Conversation

craciunoiuc
Copy link
Member

There is a slight chance that someone tries to deploy an application without a runtime and it fails. To not show a panic message return an error instead.

Fixes this: https://discord.com/channels/1143564401060872292/1293989891608154193/1293991241972977686

Prerequisite checklist

  • Read the contribution guidelines regarding submitting new changes to the project;
  • Tested your changes against relevant architectures and platforms;
  • Ran make fmt on your commit series before opening this PR;
  • Updated relevant documentation.

Description of changes

There is a slight chance that someone tries to deploy an
application without a runtime and it fails. To not show a
panic message return an error instead.

Signed-off-by: Cezar Craciunoiu <[email protected]>
@nderjung nderjung merged commit f145484 into unikraft:staging Nov 12, 2024
10 checks passed
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