1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-09 09:57:23 +03:00

Fixed a bug in TM driver

git-svn-id: http://svn.opennebula.org/one/trunk@399 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
Javier Fontán Muiños 2009-03-11 13:57:18 +00:00
parent 06dbeae737
commit b6b02b2dd2

View File

@ -46,7 +46,9 @@ for scripts to do so is as follows:
class TMPlugin < Hash
# If a +scripts_file+ is supplied commands are loaded from it.
def initialize(scripts_file=nil)
super
# Pass nil default value to hash initialization or it will use
# scripts file as the default value if the key does not exist
super(nil)
load_scripts(scripts_file) if scripts_file
end