mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-05 09:17:41 +03:00
B OpenNebula/one#6701: fix total_mb type in s3/monitor (#3213)
Signed-off-by: Neal Hansen <nhansen@opennebula.io> Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
This commit is contained in:
parent
4c7f6dc01b
commit
02e0fcedfd
@ -78,7 +78,7 @@ access_key_id = xpath(xml, 'MARKETPLACE/TEMPLATE/ACCESS_KEY_ID')
|
||||
secret_access_key = xpath(xml, 'MARKETPLACE/TEMPLATE/SECRET_ACCESS_KEY')
|
||||
bucket = xpath(xml, 'MARKETPLACE/TEMPLATE/BUCKET')
|
||||
region = xpath(xml, 'MARKETPLACE/TEMPLATE/REGION')
|
||||
total_mb = xpath(xml, 'MARKETPLACE/TEMPLATE/TOTAL_MB') || TOTAL_MB_DEFAULT
|
||||
total_mb = xpath(xml, 'MARKETPLACE/TEMPLATE/TOTAL_MB').to_i || TOTAL_MB_DEFAULT
|
||||
|
||||
# optional
|
||||
signature_version = xpath(xml, 'MARKETPLACE/TEMPLATE/SIGNATURE_VERSION')
|
||||
|
Loading…
Reference in New Issue
Block a user