Commit cc2ab594 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

refactor(backend): keep scheduled shutdowns

parent 9580c044
......@@ -4165,7 +4165,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