Fix missing return on resolve error
This commit is contained in:
parent
8c2615a54c
commit
2fbf4a267c
@ -19,6 +19,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Fixed
|
||||
|
||||
- [#241](https://github.com/XenitAB/spegel/pull/241) Fix missing return on resolve error.
|
||||
|
||||
### Security
|
||||
|
||||
## v0.0.13
|
||||
|
@ -177,6 +177,7 @@ func (r *Registry) handleMirror(c *gin.Context, key string) {
|
||||
if err != nil {
|
||||
//nolint:errcheck // ignore
|
||||
c.AbortWithError(http.StatusInternalServerError, err)
|
||||
return
|
||||
}
|
||||
for {
|
||||
select {
|
||||
|
Loading…
x
Reference in New Issue
Block a user