mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-21 10:58:23 +00:00
Upgrade gin-gonic to latest master, fix compatibility issues
This commit is contained in:
1 parent
ff8e4a8659
commit
3756db2491
282 files changed
+71223
-3157
No files matched your search
+1
-1
@@ -8,7 +8,7 @@ import (
|
||||
func apiPackagesShow(c *gin.Context) {
|
||||
p, err := context.CollectionFactory().PackageCollection().ByKey([]byte(c.Params.ByName("key")))
|
||||
if err != nil {
|
||||
c.Fail(404, err)
|
||||
c.AbortWithError(404, err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user