summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoggzo <yogg@epsina.com>2016-04-19 18:33:21 +0200
committerYoggzo <yogg@epsina.com>2016-04-19 18:33:21 +0200
commit00184e623ec6dd1b5757fd9b268bc2afe97c338b (patch)
tree7c3ada310bcb1a1257a16746c3bfcb5e9178153a
parent6a3f770c762de4decfbb483bb8212ea44ffc44d1 (diff)
trying floating ip
-rwxr-xr-xserver/core/FloatingIp.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/core/FloatingIp.php b/server/core/FloatingIp.php
index bbcd888..26f5ef1 100755
--- a/server/core/FloatingIp.php
+++ b/server/core/FloatingIp.php
@@ -66,13 +66,13 @@ class floatingIp {
private function listFloatingIp(){
try{
$result = array();
- $l = $this->libClass->getFloatingIps();
-
-
+ $l = $this->libClass->getFloatingIps();
+ echo 'toto';
foreach ($l as $tmp) {
- $serult[] = $tmp;
+ $result[] = $tmp;
}
+
$this->app->setOutput("FloatingIp", $result);
}catch(BadResponseError $e){
$this->app->getErrorInstance()->BadResponseHandler($e);