fix build and golangci-lint

This commit is contained in:
André Roth committed 2024-11-17 14:09:37 +01:00
1 parent 1357d246d8
commit 9ca9569714
3 files changed
+4 -5

No files matched your search

+1 -1
View File
@@ -197,7 +197,7 @@ func (s *PublishedRepoSuite) TestNewPublishedRepo(c *C) {
func (s *PublishedRepoSuite) TestMultiDistPool(c *C) {
repo, err := NewPublishedRepo("", "ppa", "squeeze", nil, []string{"main"}, []interface{}{s.snapshot}, s.factory, true)
c.Assert(err, IsNil)
err = repo.Publish(s.packagePool, s.provider, s.factory, &NullSigner{}, nil, false)
err = repo.Publish(s.packagePool, s.provider, s.factory, &NullSigner{}, nil, false, "")
c.Assert(err, IsNil)
publishedStorage := files.NewPublishedStorage(s.root, "", "")