added config reload @ after rollback exception

This commit is contained in:
Alex V Kotelnikov 2014-10-31 00:03:31 +04:00
parent 438a81542e
commit b924b92240

View file

@ -431,6 +431,7 @@ class DeployCommand extends AbstractCommand implements RequiresEnvironment
}
protected function runRollbackTask(){
$this->getConfig()->reload();
$hosts = $this->getConfig()->getHosts();
if (count($hosts) == 0) {