fix build and golangci-lint

This commit is contained in:
André Roth
2024-04-24 22:06:11 +02:00
parent 1357d246d8
commit 9ca9569714
3 changed files with 4 additions and 5 deletions
+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, "", "")