Update Swift published storage to work with new package pool

This commit is contained in:
Andrey Smirnov committed 2017-04-26 23:17:03 +03:00
1 parent f4ff8d957f
commit 2535367c3c
3 files changed
+38 -20

No files matched your search

+2
View File
@@ -304,6 +304,8 @@ func (storage *PublishedStorage) LinkFromPool(publishedDirectory string, sourceP
err = storage.putFile(relPath, source)
if err == nil {
storage.pathCache[relPath] = sourceMD5
} else {
err = errors.Wrap(err, fmt.Sprintf("error uploading %s to %s: %s", sourcePath, storage, poolPath))
}
return err