Skip to content

Conversation

@migmartri
Copy link
Member

Fixes #1332

Signed-off-by: Miguel Martinez <miguel@chainloop.dev>
@migmartri migmartri requested review from javirln and jiparis October 14, 2024 12:11
}
defer result.r.Close()

if result.size == 0 {
Copy link
Member Author

Choose a reason for hiding this comment

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

this is not strictly part of this error but it's an additional protection to let the user know.

@migmartri migmartri merged commit 51b62cb into chainloop-dev:main Oct 14, 2024
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.

Panic when adding an empty material

2 participants