@@ -144,13 +144,13 @@ |
||
| 144 | 144 | } |
| 145 | 145 | |
| 146 | 146 | /** |
| 147 | - * Action - Get the latest deploy log |
|
| 148 | - * |
|
| 149 | - * @param SS_HTTPRequest $request |
|
| 150 | - * |
|
| 151 | - * @return string |
|
| 152 | - * @throws SS_HTTPResponse_Exception |
|
| 153 | - */ |
|
| 147 | + * Action - Get the latest deploy log |
|
| 148 | + * |
|
| 149 | + * @param SS_HTTPRequest $request |
|
| 150 | + * |
|
| 151 | + * @return string |
|
| 152 | + * @throws SS_HTTPResponse_Exception |
|
| 153 | + */ |
|
| 154 | 154 | public function log(SS_HTTPRequest $request) { |
| 155 | 155 | $params = $request->params(); |
| 156 | 156 | $deployment = DNDeployment::get()->byId($params['ID']); |
@@ -154,7 +154,7 @@ |
||
| 154 | 154 | $fetch->write(); |
| 155 | 155 | $fetch->start(); |
| 156 | 156 | |
| 157 | - $location = Director::absoluteBaseURL() . $this->Link() . '/update/' . $fetch->ID; |
|
| 157 | + $location = Director::absoluteBaseURL().$this->Link().'/update/'.$fetch->ID; |
|
| 158 | 158 | $output = array( |
| 159 | 159 | 'message' => 'git fetch has been queued', |
| 160 | 160 | 'ID' => $fetch->ID, |