mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
L #-: Fix linting for FC
This commit is contained in:
parent
ad35e83ba4
commit
6f04518307
@ -227,12 +227,12 @@ class MicroVM
|
||||
end
|
||||
|
||||
# Clean resources and directories after shuttingdown the microVM
|
||||
def clean(delete=true)
|
||||
def clean(delete = true)
|
||||
cgroup_path = @one.fcrc[:cgroup_location]
|
||||
timeout = Integer(@one.fcrc[:cgroup_delete_timeout])
|
||||
|
||||
params = "-c #{cgroup_path} -v #{@one.vm_name} -t #{timeout}"
|
||||
params << " -o" unless delete
|
||||
params << ' -o' unless delete
|
||||
|
||||
cmd = "sudo #{@clean_sh} #{params}"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user