1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

better defaults for the EC2 IM driver

git-svn-id: http://svn.opennebula.org/one/trunk@427 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
Rubén S. Montero 2009-03-19 23:28:16 +00:00
parent 0b8f11421b
commit 12b9c6c00e

View File

@ -38,8 +38,8 @@ class EC2InformationManagerDriver < OpenNebulaDriver
# Init the driver, and compute the predefined maximum capacity for this
# EC2 cloud
#---------------------------------------------------------------------------
def initialize(num=15)
super(num,false)
def initialize()
super(1,false)
register_action(:MONITOR, method("action_monitor"))
@ -76,5 +76,5 @@ end
# The EC2 Information Driver main program
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
im = EC2InformationManagerDriver.new(15)
im = EC2InformationManagerDriver.new
im.start_driver