diff --git a/src/datastore_mad/remotes/vcenter_downloader.rb b/src/datastore_mad/remotes/vcenter_downloader.rb index c684386d92..c17a300270 100755 --- a/src/datastore_mad/remotes/vcenter_downloader.rb +++ b/src/datastore_mad/remotes/vcenter_downloader.rb @@ -62,7 +62,7 @@ rescue StandardError => e " from datastore #{ds_id} "\ "Reason: \"#{e.message}\"}" if VCenterDriver::CONFIG[:debug_information] - STDERR.puts "#{e.backtrace}" + STDERR.puts e.backtrace.to_s end exit(-1) ensure diff --git a/src/vmm_mad/remotes/lib/vcenter_driver/file_helper.rb b/src/vmm_mad/remotes/lib/vcenter_driver/file_helper.rb index d014de16a2..1c5c50c81f 100644 --- a/src/vmm_mad/remotes/lib/vcenter_driver/file_helper.rb +++ b/src/vmm_mad/remotes/lib/vcenter_driver/file_helper.rb @@ -56,7 +56,7 @@ module VCenterDriver # REMOVE: no need to change... def self.get_img_name_from_path(path, vm_id, disk_id) - # Note: This will probably fail if the basename contains '.' + # NOTE: This will probably fail if the basename contains '.' "#{path.split('.').first}-#{vm_id}-#{disk_id}.vmdk" end