mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-28 10:08:56 +02:00
Version 0.9.10.
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ class Mage_Config
|
||||
$this->_environmentName = $environment;
|
||||
|
||||
// Create temporal directory for clone
|
||||
if (is_array($this->_environment['deployment']['source'])) {
|
||||
if (isset($this->_environment['deployment']['source']) && is_array($this->_environment['deployment']['source'])) {
|
||||
if (trim($this->_environment['deployment']['source']['temporal']) == '') {
|
||||
$this->_environment['deployment']['source']['temporal'] = '/tmp';
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ class Mage_Task_Deploy
|
||||
// Time Information Hosts
|
||||
if ($this->_hostsCount > 0) {
|
||||
$timeTextHost = $this->_transcurredTime($this->_endTimeHosts - $this->_startTimeHosts);
|
||||
Mage_Console::output('Average time for deployment: <dark_gray>' . $timeTextHost . '</dark_gray>.');
|
||||
Mage_Console::output('Time for deployment: <dark_gray>' . $timeTextHost . '</dark_gray>.');
|
||||
|
||||
$timeTextPerHost = $this->_transcurredTime(round(($this->_endTimeHosts - $this->_startTimeHosts) / $this->_hostsCount));
|
||||
Mage_Console::output('Average time per host: <dark_gray>' . $timeTextPerHost . '</dark_gray>.');
|
||||
|
||||
Reference in New Issue
Block a user