mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 11:22:55 +09:00
Solved ticket #65. Patch submited by Soren Hansen
git-svn-id: http://svn.opennebula.org/one/trunk@306 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
1 parent
9afa95964a
commit
dce65cfdfe
1 file changed
+2
@@ -138,6 +138,8 @@ class TMScript
|
||||
# Returns an array where first element tells if succeded and the
|
||||
# second one is the error message in case of failure.
|
||||
def execute(plugin)
|
||||
return [true,""] if @lines.empty?
|
||||
|
||||
result=@lines.each {|line|
|
||||
res=plugin.execute(@logger, *line)
|
||||
if !res
|
||||
|
||||
Reference in new issue
Block a user