-
Notifications
You must be signed in to change notification settings - Fork 45
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
do not operate on empty or ambiguous device and release UUIDs #371
Conversation
3130e48
to
a000a36
Compare
856b331
to
e82b65e
Compare
|
Oh and |
df16da5
to
c8df914
Compare
Change-type: patch
c8df914
to
0766753
Compare
balena/models/release.py
Outdated
@@ -57,6 +57,9 @@ def get( | |||
if commit_or_id_or_raw_version is None: | |||
raise exceptions.ReleaseNotFound(commit_or_id_or_raw_version) | |||
|
|||
if commit_or_id_or_raw_version == '': | |||
raise exceptions.InvalidParameter("UUID can not be empty", None) |
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.
raise exceptions.InvalidParameter("UUID can not be empty", None) | |
raise exceptions.InvalidParameter("commit_or_id_or_raw_version can not be empty", None) |
Pull request was converted to draft
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.
Converted to draft so that you have the chance to fix the invalid parameter error and not get blocked by my pending review
…g uuid Change-type: patch
0766753
to
6d5d043
Compare
Change-type: patch