Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
Fix removing all remp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
vterdunov committed May 21, 2018
1 parent 186959a commit 590f65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/workers/vmware/deploy_ova.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ def do_work(vim, datacenter, params)
level: 'good')
ensure
FileUtils.remove_dir(unpacked_dir) unless unpacked_dir.blank?
FileUtils.remove_dir(File.dirname(ova_path)) unless ova_path.blank?
FileUtils.rm_f(ova_path) unless ova_path.blank?
end
end

0 comments on commit 590f65f

Please sign in to comment.