Refactoring: add MD5 to LinkFromPool. #15

This commit is contained in:
Andrey Smirnov
2014-07-17 18:04:56 +04:00
parent fbf1bc14b7
commit b260b0010a
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -477,7 +477,7 @@ func (p *Package) LinkFromPool(publishedStorage aptly.PublishedStorage, packageP
relPath := filepath.Join("pool", component, poolDir)
publishedDirectory := filepath.Join(prefix, relPath)
err = publishedStorage.LinkFromPool(publishedDirectory, packagePool, sourcePath)
err = publishedStorage.LinkFromPool(publishedDirectory, packagePool, sourcePath, f.Checksums.MD5)
if err != nil {
return err
}