1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-04-01 06:50:25 +03:00

Ozones: Fix typo and missing requires for aggregated resources.

This commit is contained in:
Hector Sanjuan 2012-03-29 19:37:53 +02:00
parent 6352c999f4
commit 4b4571d3b5
2 changed files with 5 additions and 3 deletions

View File

@ -27,6 +27,8 @@ require 'OZones/AggregatedVirtualNetworks'
require 'OZones/AggregatedImages'
require 'OZones/AggregatedUsers'
require 'OZones/AggregatedTemplates'
require 'OZones/AggregatedClusters'
require 'OZones/AggregatedDatastores'
require 'openssl'
require 'digest/sha1'
@ -71,4 +73,4 @@ module OZones
def self.str_to_json(str)
return JSON.pretty_generate({:message => str})
end
end
end

View File

@ -219,9 +219,9 @@ module OZones
when "template","vmtemplate" then
OZones::AggregatedTemplates.new
when "cluster" then
OZones::AggregatedCluster.new
OZones::AggregatedClusters.new
when "datastore" then
OZones::AggregatedDatastore.new
OZones::AggregatedDatastores.new
else
error = OZones::Error.new("Error: Pool #{pool_kind} not" \
" supported for aggregated zone view")