mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-12 03:21:33 +00:00
Fix error message.
This commit is contained in:
2
debian/publish.go
vendored
2
debian/publish.go
vendored
@@ -109,7 +109,7 @@ func (p *PublishedRepo) Publish(repo *Repository, packageCollection *PackageColl
|
||||
}
|
||||
|
||||
if list.Len() == 0 {
|
||||
return fmt.Errorf("repository is empty, can't publish")
|
||||
return fmt.Errorf("snapshot is empty")
|
||||
}
|
||||
|
||||
if len(p.Architectures) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user