From 327377e0a9bedb0df30a104f77a292bdc50317ad Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Wed, 7 Aug 2019 11:25:52 +0200 Subject: [PATCH] Update TransferManager.cc --- src/tm/TransferManager.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/tm/TransferManager.cc b/src/tm/TransferManager.cc index 1c8cc5a91bd..e6ad36f754b 100644 --- a/src/tm/TransferManager.cc +++ b/src/tm/TransferManager.cc @@ -799,7 +799,6 @@ void TransferManager::prolog_migr_action(int vid) } } - (*disk)->vector_value("TM_MAD"); string tsys = (*disk)->vector_value("TM_MAD_SYSTEM"); if (!tsys.empty()) { @@ -943,7 +942,6 @@ void TransferManager::prolog_resume_action(int vid) } } - (*disk)->vector_value("TM_MAD"); string tsys = (*disk)->vector_value("TM_MAD_SYSTEM"); if (!tsys.empty()) { @@ -1152,6 +1150,7 @@ void TransferManager::epilog_transfer_command( { tm_mad_system = "." + tsys; } + //MVDS(.tm_mad_system) tm_mad hostname:remote_system_dir/disk.0 vmid dsid xfr << "MVDS" << tm_mad_system << " " << tm_mad << " " @@ -2001,7 +2000,8 @@ void TransferManager::saveas_hot_action(int vid) } disk = vm->get_disk(disk_id); - if (disk != 0) + + if (disk != nullptr) { tsys = disk->vector_value("TM_MAD_SYSTEM"); if (!tsys.empty()) @@ -2096,7 +2096,8 @@ int TransferManager::snapshot_transfer_command( } disk = vm->get_disk(disk_id); - if (disk != 0) + + if (disk != nullptr) { tsys = disk->vector_value("TM_MAD_SYSTEM"); if (!tsys.empty())