From 00184e623ec6dd1b5757fd9b268bc2afe97c338b Mon Sep 17 00:00:00 2001 From: Yoggzo Date: Tue, 19 Apr 2016 18:33:21 +0200 Subject: [PATCH] trying floating ip --- server/core/FloatingIp.php | 8 ++++---- 1 file 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(); - - - + echo 'toto'; foreach ($l as $tmp) { - $serult[] = $tmp; + $result[] = $tmp; } + $this->app->setOutput("FloatingIp", $result); }catch(BadResponseError $e){ $this->app->getErrorInstance()->BadResponseHandler($e);