diff options
| author | stupidon <bhupendra.siyag@gmail.com> | 2016-02-28 21:23:28 +0100 |
|---|---|---|
| committer | stupidon <bhupendra.siyag@gmail.com> | 2016-02-28 21:23:28 +0100 |
| commit | 8ea4b64f9305fd493bce2967063190586531e3aa (patch) | |
| tree | 4463396f07993e28552287b416f042722fd4a9bf /server/core/Compute.php | |
| parent | c67651168a08cdd5209fafedea86c48c3fe6d6f0 (diff) | |
updated get functions
Diffstat (limited to 'server/core/Compute.php')
| -rw-r--r-- | server/core/Compute.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/core/Compute.php b/server/core/Compute.php index fdc6b20..94e219c 100644 --- a/server/core/Compute.php +++ b/server/core/Compute.php @@ -78,6 +78,7 @@ class compute $serverId = $this->app->getPostParam("serverId"); $opt = array('id' => $serverId); $server = $this->libClass->getServer($opt); + $server->retrieve(); $this->app->setOutput("MyServer", $server); return; } @@ -90,6 +91,7 @@ class compute $flavorId = $this->app->getPostParam("flavorId"); $opt = array('id' => $flavorId); $flavor = $this->libClass->getFlavor($opt); + $flavor->retrieve(); $this->app->setOutput("MyFlavor", $flavor); return; } @@ -102,6 +104,7 @@ class compute $imageId = $this->app->getPostParam("imageId"); $opt = array('id' => $imageId); $image = $this->libClass->getImage($opt); + $image->retrieve(); $this->app->setOutput("MyImage", $image); return; } |
