-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[server] fix using snapshotBucketId when it is undefined or empty #12105
Conversation
@kylos101 FYI 👀 |
Co-authored-by: Kyle Brennan <[email protected]>
@geropl could you confirm is passing undefined into gitpod/components/gitpod-db/src/typeorm/workspace-db-impl.ts Lines 741 to 744 in 14b3920
findOne(volumeSnapshotId) I suspect it does not handle undefined variable properly here. But maybe I am wrong. Does it? I have a feeling it returns random record if undefined is passed into it. |
started the job as gitpod-build-pavel-fix-pvc-picking.2 because the annotations in the pull request description changed |
You're right in that it is not handled properly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM! 👍
Description
Related Issue(s)
Fixes #11823
How to test
Release Notes
Documentation
Werft options: