trying floating ip

This commit is contained in:
Yoggzo 2016-04-19 18:33:21 +02:00
parent 6a3f770c76
commit 00184e623e

View file

@ -66,13 +66,13 @@ class floatingIp {
private function listFloatingIp(){ private function listFloatingIp(){
try{ try{
$result = array(); $result = array();
$l = $this->libClass->getFloatingIps(); $l = $this->libClass->getFloatingIps();
echo 'toto';
foreach ($l as $tmp) { foreach ($l as $tmp) {
$serult[] = $tmp; $result[] = $tmp;
} }
$this->app->setOutput("FloatingIp", $result); $this->app->setOutput("FloatingIp", $result);
}catch(BadResponseError $e){ }catch(BadResponseError $e){
$this->app->getErrorInstance()->BadResponseHandler($e); $this->app->getErrorInstance()->BadResponseHandler($e);