mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-12 06:30:35 +00:00
Fix wrong nil check for SkipBz2
This commit is contained in:
+1
-1
@@ -211,7 +211,7 @@ func apiPublishRepoOrSnapshot(c *gin.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
published.SkipBz2 = context.Config().SkipBz2Publishing
|
published.SkipBz2 = context.Config().SkipBz2Publishing
|
||||||
if b.SkipContents != nil {
|
if b.SkipBz2 != nil {
|
||||||
published.SkipBz2 = *b.SkipBz2
|
published.SkipBz2 = *b.SkipBz2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user