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:
parent
06dbeae737
commit
b6b02b2dd2
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user