Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
go generate

- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
version: v1.45.0

Expand Down
2 changes: 1 addition & 1 deletion api/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
1 change: 0 additions & 1 deletion system/t04_mirror/ShowMirror8Test_gold
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"Label": "Debian-Security",
"Origin": "Debian",
"Suite": "oldoldstable",
"Valid-Until": "Sat, 05 Feb 2022 10:02:07 UTC",
"Version": "9"
},
"LastDownloadDate": "0001-01-01T00:00:00Z",
Expand Down
2 changes: 1 addition & 1 deletion system/t04_mirror/show.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ShowMirror4Test(BaseTest):
runCmd = "aptly mirror show mirror4"

def outputMatchPrepare(self, s):
return re.sub(r"(Date|Valid-Until): [,0-9:+A-Za-z -]+\n", "", s)
return re.sub(r"(Date): [,0-9:+A-Za-z -]+\n", "", s)


class ShowMirror5Test(BaseTest):
Expand Down