mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-01 20:56:42 +09:00
B #8194: Read READ_LENGTH in market_mad/s3/import
Read MARKETPLACE/TEMPLATE/READ_LENGTH (with fallback to READx_LENGTH) in src/market_mad/remotes/s3/import so the configured S3 chunk size is applied during marketplace imports. Signed-off-by: Iurii Trukhin <yuri@trukhin.com>
This commit is contained in:
1 parent
e563b898f8
commit
86e35f0e64
1 file changed
+2
-1
@@ -76,7 +76,8 @@ app_prefix = xpath(xml, 'MARKETPLACE/TEMPLATE/APP_PREFIX') || 'mar
|
||||
signature_version = xpath(xml, 'MARKETPLACE/TEMPLATE/SIGNATURE_VERSION')
|
||||
endpoint = xpath(xml, 'MARKETPLACE/TEMPLATE/ENDPOINT')
|
||||
force_path_style = xpath(xml, 'MARKETPLACE/TEMPLATE/FORCE_PATH_STYLE')
|
||||
read_length = xpath(xml, 'MARKETPLACE/TEMPLATE/READx_LENGTH')
|
||||
read_length = xpath(xml, 'MARKETPLACE/TEMPLATE/READ_LENGTH') ||
|
||||
xpath(xml, 'MARKETPLACE/TEMPLATE/READx_LENGTH')
|
||||
|
||||
name = "#{app_prefix}-#{id}"
|
||||
source = "s3://#{bucket}/#{name}"
|
||||
|
||||
Reference in new issue
Block a user