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: daytona list panic #425

Merged
merged 1 commit into from
Apr 25, 2024
Merged

fix: daytona list panic #425

merged 1 commit into from
Apr 25, 2024

Conversation

idagelic
Copy link
Member

Daytona list panic

Description

When workspace projects' properties are malformed, daytona list panics due to a missing check for the "Info" and "Info.Projects" pointer checks. We should avoid panics in any case.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Related Issue(s)

This PR addresses issue #X

Screenshots

image

Notes

Please add any relevant notes if necessary.

Signed-off-by: Ivan Dagelic <dagelic.ivan@gmail.com>
@idagelic idagelic requested a review from a team as a code owner April 23, 2024 09:06
@idagelic idagelic merged commit 816f67e into main Apr 25, 2024
5 checks passed
@idagelic idagelic deleted the daytona-list-panic branch April 25, 2024 09:13
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.

None yet

3 participants