fix lint complaints

This commit is contained in:
André Roth
2024-03-06 08:08:20 +01:00
parent c2ee086487
commit a0af6a25aa
5 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -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")