Fixes and tweaks.

This commit is contained in:
Andrés Montañez
2014-08-06 14:17:26 -03:00
parent fddeebe59a
commit ec2bb12bf4
6 changed files with 8 additions and 18 deletions
+1 -1
View File
@@ -51,9 +51,9 @@ class RollbackCommand extends AbstractCommand implements RequiresEnvironment
foreach ($hosts as $host) {
$this->getConfig()->setHost($host);
$this->getConfig()->setReleaseId($releaseId);
$task = Factory::get('releases/rollback', $this->getConfig());
$task->init();
$task->setRelease($releaseId);
$result = $task->run();
}
}