mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
Update to new non-pointer interfaces.
This commit is contained in:
Vendored
+1
-1
@@ -120,7 +120,7 @@ func (p *PublishedRepo) Publish(repo *Repository, packageCollection *PackageColl
|
|||||||
return fmt.Errorf("unable to figure out list of architectures, please supply explicit list")
|
return fmt.Errorf("unable to figure out list of architectures, please supply explicit list")
|
||||||
}
|
}
|
||||||
|
|
||||||
generatedFiles := map[string]*utils.ChecksumInfo{}
|
generatedFiles := map[string]utils.ChecksumInfo{}
|
||||||
|
|
||||||
// For all architectures, generate release file
|
// For all architectures, generate release file
|
||||||
for _, arch := range p.Architectures {
|
for _, arch := range p.Architectures {
|
||||||
|
|||||||
Vendored
+1
-1
@@ -88,6 +88,6 @@ func (r *Repository) LinkFromPool(prefix string, component string, sourcePath st
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ChecksumsForFile proxies requests to utils.ChecksumsForFile, joining public path
|
// ChecksumsForFile proxies requests to utils.ChecksumsForFile, joining public path
|
||||||
func (r *Repository) ChecksumsForFile(path string) (*utils.ChecksumInfo, error) {
|
func (r *Repository) ChecksumsForFile(path string) (utils.ChecksumInfo, error) {
|
||||||
return utils.ChecksumsForFile(filepath.Join(r.RootPath, "public", path))
|
return utils.ChecksumsForFile(filepath.Join(r.RootPath, "public", path))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user