F #~: fix memory_dumps configuration (#1027)

Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
(cherry picked from commit a37ab86047)
This commit is contained in:
Carlos J. Herrera authored and Tino Vazquez committed 2021-03-25 14:21:37 +01:00
1 parent 570edd4c26
commit efa6478bbf
1 file changed
+1 -1
@@ -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,