mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-10 06:14:22 +00:00
fix lint complaints
This commit is contained in:
+1
-1
@@ -190,7 +190,7 @@ func NewInstallerPackageFromControlFile(input Stanza, repo *RemoteRepo, componen
|
||||
}
|
||||
|
||||
var relPath string
|
||||
if repo.Distribution == "focal" {
|
||||
if repo.Distribution == aptly.DistributionFocal {
|
||||
relPath = filepath.Join("dists", repo.Distribution, component, fmt.Sprintf("%s-%s", p.Name, architecture), "current", "legacy-images")
|
||||
} else {
|
||||
relPath = filepath.Join("dists", repo.Distribution, component, fmt.Sprintf("%s-%s", p.Name, architecture), "current", "images")
|
||||
|
||||
Reference in New Issue
Block a user