Commit 1fc23ca0 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

refactor(backend): keep scheduled shutdowns

parent a0973e55
......@@ -4599,7 +4599,7 @@ sub _remove_unnecessary_downs($self, $domain) {
my @requests = $domain->list_requests(1);
for my $req (@requests) {
$req->status('done') if $req->command =~ /shutdown/;
$req->status('done') if $req->command =~ /shutdown/ && !$req->at_time;
$req->_remove_messages();
}
}
......
Supports Markdown
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