]> source.dussan.org Git - gitea.git/commit
Test if container blob is accessible before mounting (#22759)
authorKN4CK3R <admin@oldschoolhack.me>
Sun, 9 Jul 2023 11:24:43 +0000 (13:24 +0200)
committerGitHub <noreply@github.com>
Sun, 9 Jul 2023 11:24:43 +0000 (11:24 +0000)
commit115f40e43368fefc776232a2df289b2fcadbb11d
tree5a892ca23c2fc5173a39aa439cce428ede7356fc
parent38844e0869bff0a08f8810c97cb3f5cb07df9a8e
Test if container blob is accessible before mounting (#22759)

related #16865

This PR adds an accessibility check before mounting container blobs.

---------

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: silverwind <me@silverwind.io>
models/packages/package_blob.go
routers/api/packages/container/container.go
tests/integration/api_packages_container_test.go