mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-21 10:58:23 +00:00
Enable vetshadow linter
This commit is contained in:
1 parent
a9a5a73dfd
commit
5ce6bf8718
18 files changed
+82
-65
No files matched your search
+2
-1
@@ -146,7 +146,8 @@ func (storage *PublishedStorage) LinkFromPool(publishedDirectory, baseName strin
|
||||
}
|
||||
} else {
|
||||
// if source and destination have the same checksums, no need to copy
|
||||
dstMD5, err := utils.MD5ChecksumForFile(filepath.Join(poolPath, baseName))
|
||||
var dstMD5 string
|
||||
dstMD5, err = utils.MD5ChecksumForFile(filepath.Join(poolPath, baseName))
|
||||
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user