mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-21 10:58:23 +00:00
Fix wrong nil check for SkipBz2
This commit is contained in:
1 parent
abf8abb59b
commit
af899149c7
1 file changed
+1
-1
+1
-1
@@ -211,7 +211,7 @@ func apiPublishRepoOrSnapshot(c *gin.Context) {
|
||||
}
|
||||
|
||||
published.SkipBz2 = context.Config().SkipBz2Publishing
|
||||
if b.SkipContents != nil {
|
||||
if b.SkipBz2 != nil {
|
||||
published.SkipBz2 = *b.SkipBz2
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user