Commit 3e8a8ca8 authored by Kamil Iskra's avatar Kamil Iskra

Merge branch 'fix-kill-content' into 'master'

[fix] Fixes issue #4

Closes #4

See merge request !7
parents 80cc57b0 c16f13a8
Pipeline #4748 passed with stage
in 33 seconds
......@@ -1076,14 +1076,14 @@ void Container_manager::clean_config(string command)
_containers[i]->check_task_ownership(true, true);
}
if(kill_content)
sleep(1);
vector<Argo_container*>::iterator it;
for(it = _containers.begin(); it != _containers.end(); it++)
{
if(kill_content)
{
(*it)->kill_content(false);
sleep(1);
}
(*it)->remove();
delete *it;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment