Error patch

This commit is contained in:
EoleDev 2016-04-19 19:44:09 +02:00
parent 00184e623e
commit 49ce03168a
2 changed files with 3 additions and 3 deletions

2
server/Test/automatingTests.php Normal file → Executable file
View file

@ -23,6 +23,6 @@ foreach($servers as $server){
$floatingIp->action("listFloatingIp");
$listFloatingIp = json_decode($App->show(), true)["FloatingIp"];
foreach ($listFloatingIp as $floatIp){
echo $floatIp['floating_ip_address']." ".$floatIp['id']." ".$floatIp["status"]."<br>";
echo "IP : ".$floatIp['floating_ip_address']." et ID: ".$floatIp['id']." ".$floatIp["status"]."<br>";
}
?>

View file

@ -66,8 +66,8 @@ class floatingIp {
private function listFloatingIp(){
try{
$result = array();
$l = $this->libClass->getFloatingIps();
$l = $this->libClass->listFloatingIps();
error_log(var_export($l, true), 0);
echo 'toto';
foreach ($l as $tmp) {
$result[] = $tmp;