mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
Bug #2548: Set correct flag for pool retrieval
(cherry picked from commit f213728b21)
This commit is contained in:
1 parent
ef19abc4aa
commit
2aca2d372e
1 file changed
+4
-4
@@ -189,15 +189,15 @@ module OZones
|
||||
when "host" then
|
||||
OpenNebulaJSON::HostPoolJSON.new(@client)
|
||||
when "image" then
|
||||
OpenNebulaJSON::ImagePoolJSON.new(@client)
|
||||
OpenNebulaJSON::ImagePoolJSON.new(@client,OpenNebula::Pool::INFO_ALL)
|
||||
when "user" then
|
||||
OpenNebulaJSON::UserPoolJSON.new(@client)
|
||||
when "vm" then
|
||||
OpenNebulaJSON::VirtualMachinePoolJSON.new(@client)
|
||||
OpenNebulaJSON::VirtualMachinePoolJSON.new(@client,OpenNebula::Pool::INFO_ALL)
|
||||
when "vn","vnet" then
|
||||
OpenNebulaJSON::VirtualNetworkPoolJSON.new(@client)
|
||||
OpenNebulaJSON::VirtualNetworkPoolJSON.new(@client,OpenNebula::Pool::INFO_ALL)
|
||||
when "template","vmtemplate" then
|
||||
OpenNebulaJSON::TemplatePoolJSON.new(@client)
|
||||
OpenNebulaJSON::TemplatePoolJSON.new(@client,OpenNebula::Pool::INFO_ALL)
|
||||
when "cluster" then
|
||||
OpenNebulaJSON::ClusterPoolJSON.new(@client)
|
||||
when "datastore" then
|
||||
|
||||
Reference in new issue
Block a user