1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-06 13:17:42 +03:00

M #~: wrong var name (#3480)

Signed-off-by: Carlos J. Herrera Matos <cherrera@opennebula.systems>
This commit is contained in:
Carlos J. Herrera 2019-07-05 06:31:01 -04:00 committed by Tino Vázquez
parent 9ce688760b
commit 836b720c2e

View File

@ -82,11 +82,11 @@ begin
rescue StandardError => e
if (retries += 1) < VCenterDriver::CONFIG[:retries]
message = "Delete DISK #{vm_ref} failed due to "\
message = "Delete DISK #{img_name} failed due to "\
"\"#{e.message}\"\n#{e.backtrace.join("\n")} "\
"on the attempt \##{retries}\n#{e.backtrace.join("\n")}"
else
message = "Delete DISK #{vm_ref} failed due to "\
message = "Delete DISK #{img_name} failed due to "\
"\"#{e.message}\"\n#{e.backtrace.join("\n")} "\
"on the final attempt\n#{e.backtrace.join("\n")}"
end
@ -106,11 +106,11 @@ begin
rescue StandardError => e
if (retries += 1) < VCenterDriver::CONFIG[:retries]
message = "Delete CDROM #{vm_ref} failed due to "\
message = "Delete CDROM #{img_name} failed due to "\
"\"#{e.message}\"\n#{e.backtrace.join("\n")} "\
"on the attempt \##{retries}\n#{e.backtrace.join("\n")}"
else
message = "Delete CDROM #{vm_ref} failed due to "\
message = "Delete CDROM #{img_name} failed due to "\
"\"#{e.message}\"\n#{e.backtrace.join("\n")} "\
"on the final attempt\n#{e.backtrace.join("\n")}"
end