add store phase

This commit is contained in:
Oliver Gorwits
2019-03-13 21:53:57 +00:00
parent 0c62159c85
commit 1ecd277e61
3 changed files with 6 additions and 5 deletions

View File

@@ -93,7 +93,7 @@ phase.
sub finalise_status {
my $job = shift;
# use DDP; p $job->_statuslist;
# use DDP; p $job->_statuslist;
# fallback
$job->status('error');
@@ -103,7 +103,7 @@ sub finalise_status {
foreach my $status (reverse @{ $job->_statuslist }) {
next if $status->phase
and $status->phase !~ m/^(?:check|early|main)$/;
and $status->phase !~ m/^(?:check|early|main|store)$/;
# done() from check phase should not be the action's done()
next if $status->phase eq 'check' and $status->is_ok;