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:
parent
ae8008e78f
commit
ae5bcd1e02
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user