1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Fix crash in one_vmm_exec.rb

(cherry picked from commit 7a3fcc1dce58d2c9a2126acf4cda81e7a2b04d1e)
This commit is contained in:
Javi Fontan 2017-03-10 18:29:54 +01:00
parent 945b2393f9
commit e328e37481

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