Health: fix erronous method call

This commit is contained in:
Thomas Gelf 2017-11-10 10:14:29 +01:00
parent 781a4db763
commit 78b5cfdbcb

View File

@ -262,7 +262,7 @@ class Health
} elseif ($latest->isPending()) { } elseif ($latest->isPending()) {
$check->warn('The last Deployment succeeded'); $check->warn('The last Deployment succeeded');
} else { } else {
$check->error('The last Deployment failed'); $check->fail('The last Deployment failed');
} }
return $check; return $check;