summaryrefslogtreecommitdiff
path: root/server/core/Compute.php
diff options
context:
space:
mode:
authorstupidon <bhupendra.siyag@gmail.com>2016-02-28 21:23:53 +0100
committerstupidon <bhupendra.siyag@gmail.com>2016-02-28 21:23:53 +0100
commitd3ad74297dd100c73c13d37067c8a071f47b29b7 (patch)
tree61d057f7b6983658b3515720429fae2ed0358931 /server/core/Compute.php
parent1514d3daeb304be6258339d800a02d6e48a1c486 (diff)
parent8ea4b64f9305fd493bce2967063190586531e3aa (diff)
Merge branch 'compute' into develop
Diffstat (limited to 'server/core/Compute.php')
-rw-r--r--server/core/Compute.php3
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;
}