summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xapplication/controllers/EventController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/controllers/EventController.php b/application/controllers/EventController.php
index 00f07ee..5c1afcf 100755
--- a/application/controllers/EventController.php
+++ b/application/controllers/EventController.php
@@ -1835,6 +1835,7 @@ class EventController extends Zend_Controller_Action
}
}
}
+ $data['clients'] = $clients;
if($boot) {
$bootOsRequest = "bootosid=" . $event->getPbs_bootosID();
$bootOsApiResult = PostToHost($this->pbs2host, $this->config['pbs2']['getbootoss'] . $apikey, 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], 'poolctrl', $bootOsRequest);
@@ -1860,6 +1861,7 @@ class EventController extends Zend_Controller_Action
}
$data['eventOS'] = $bootos->getDistro() . " " . $bootos->getDistroversion();
}
+ print_r($data);
$dataString = json_encode($data);
$result = $this->gearmanClient->do("boot", $dataString, 'boot' . $event->getTitle());
if (! $this->gearmanClient->runTasks())