Merge branch 'develop' into loic
This commit is contained in:
commit
791045bc05
1 changed files with 3 additions and 0 deletions
|
@ -78,6 +78,7 @@ class compute
|
||||||
$serverId = $this->app->getPostParam("serverId");
|
$serverId = $this->app->getPostParam("serverId");
|
||||||
$opt = array('id' => $serverId);
|
$opt = array('id' => $serverId);
|
||||||
$server = $this->libClass->getServer($opt);
|
$server = $this->libClass->getServer($opt);
|
||||||
|
$server->retrieve();
|
||||||
$this->app->setOutput("MyServer", $server);
|
$this->app->setOutput("MyServer", $server);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -90,6 +91,7 @@ class compute
|
||||||
$flavorId = $this->app->getPostParam("flavorId");
|
$flavorId = $this->app->getPostParam("flavorId");
|
||||||
$opt = array('id' => $flavorId);
|
$opt = array('id' => $flavorId);
|
||||||
$flavor = $this->libClass->getFlavor($opt);
|
$flavor = $this->libClass->getFlavor($opt);
|
||||||
|
$flavor->retrieve();
|
||||||
$this->app->setOutput("MyFlavor", $flavor);
|
$this->app->setOutput("MyFlavor", $flavor);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -102,6 +104,7 @@ class compute
|
||||||
$imageId = $this->app->getPostParam("imageId");
|
$imageId = $this->app->getPostParam("imageId");
|
||||||
$opt = array('id' => $imageId);
|
$opt = array('id' => $imageId);
|
||||||
$image = $this->libClass->getImage($opt);
|
$image = $this->libClass->getImage($opt);
|
||||||
|
$image->retrieve();
|
||||||
$this->app->setOutput("MyImage", $image);
|
$this->app->setOutput("MyImage", $image);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue