Fix crash in one_vmm_exec.rb

(cherry picked from commit 7a3fcc1dce58d2c9a2126acf4cda81e7a2b04d1e)
This commit is contained in:
Javi Fontan committed 2017-04-24 12:10:09 +02:00
1 parent 945b2393f9
commit e328e37481
1 file changed
+2 -2
+2 -2
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
# -------------------------------------------------------------------------- #
# Copyright 2002-2016, OpenNebula Project, OpenNebula Systems #
# Copyright 2002-2017, OpenNebula Project, OpenNebula Systems #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may #
# not use this file except in compliance with the License. You may obtain #
@@ -126,7 +126,7 @@ class VmmAction
end
if DriverExecHelper.failed?(result)
info << @data[:failed_info]
info << ( @data[:failed_info] || "-" )
elsif !@data["#{@main_action.to_s}_info".to_sym].nil?
info << @data["#{@main_action.to_s}_info".to_sym]
end