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

M #-: fix minor bug in vCenter file_helper (#270)

This commit is contained in:
Alejandro Huertas Herrero 2020-09-30 11:12:34 +02:00 committed by GitHub
parent ae8008e78f
commit ae5bcd1e02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -181,7 +181,6 @@ files_to_upload.each_with_index do |f, index|
end
if last_file_to_upload?(index, files_to_upload)
puts stdout_str
puts "#{target.gsub("\n", '')} vmdk"
end
end

View File

@ -49,7 +49,7 @@ class FileHelper
end
def self.is_remote_or_needs_unpack?(file)
return !is_remote?(file).nil? || needs_unpack?(file)
return !remote?(file).nil? || needs_unpack?(file)
end
def self.remote?(file)