1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

F #~: fix memory_dumps configuration (#1027)

Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
(cherry picked from commit a37ab8604766b46f05fce1dc417b7c5e99a9d05c)
This commit is contained in:
Carlos J. Herrera 2021-03-25 09:20:40 -04:00 committed by Tino Vazquez
parent 570edd4c26
commit efa6478bbf
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -2343,7 +2343,7 @@ module VCenterDriver
# Create a snapshot for the VM
def create_snapshot(snap_id, snap_name)
memory_dumps = true
memory_dumps = CONFIG[:memory_dumps] if CONFIG[:memory_dumps]
memory_dumps = CONFIG[:memory_dumps] unless CONFIG[:memory_dumps].nil?
snapshot_hash = {
:name => snap_id,