mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-16 12:08:04 +00:00
Style fixups
This commit is contained in:
@@ -395,6 +395,4 @@ func (l *PackageRefList) FilterLatestRefs() {
|
||||
|
||||
lastArch, lastName, lastVer = arch, name, ver
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
+1
-1
@@ -198,7 +198,7 @@ func (repo *RemoteRepo) IndexesRootURL() *url.URL {
|
||||
if !repo.IsFlat() {
|
||||
path = &url.URL{Path: fmt.Sprintf("dists/%s/", repo.Distribution)}
|
||||
} else {
|
||||
path = &url.URL{Path: fmt.Sprintf("%s", repo.Distribution)}
|
||||
path = &url.URL{Path: repo.Distribution}
|
||||
}
|
||||
|
||||
return repo.archiveRootURL.ResolveReference(path)
|
||||
|
||||
Reference in New Issue
Block a user