Skip to content

Conversation

migmartri
Copy link
Member

This change https://github.com/chainloop-dev/chainloop/pull/390/files?diff=split&w=0#r1360718603 introduced a regression in the Azure code.

The problem was that in Azure, we were returning a pointer to a custom error (instead of the error value), confusing errors.As.

This change makes sure we return always a concrete type and we leverage the already existing backend.isNotFound method.

Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
@migmartri migmartri requested a review from danlishka October 17, 2023 15:22
@migmartri
Copy link
Member Author

@danlishka you pointed out this code change and I was wrong in my answer, sorry about it.

Copy link
Member

@danlishka danlishka left a comment

Choose a reason for hiding this comment

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

LGTM

@migmartri migmartri merged commit e25e167 into chainloop-dev:main Oct 17, 2023
@migmartri migmartri deleted the fix-azure-upload branch October 17, 2023 15:40
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