mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Fix wrong resource name in debug string
For DS monitor vCenter probe (cherry picked from commit fc9cb760904a3500e539070f7c6fb077e852e01c)
This commit is contained in:
parent
88f56cf508
commit
88013d00bb
@ -44,7 +44,7 @@ ds_ref = drv_action["/DS_DRIVER_ACTION_DATA/DATASTORE/TEMPLATE/VCENTER_DS_REF"]
|
||||
check_valid ds_ref, "ds_ref"
|
||||
|
||||
if ds_id.nil? || ds_ref.nil?
|
||||
STDERR.puts "Not enough information to monitor the image."
|
||||
STDERR.puts "Not enough information to monitor the datastore."
|
||||
exit -1
|
||||
end
|
||||
|
||||
@ -55,7 +55,7 @@ begin
|
||||
puts storage.monitor
|
||||
|
||||
rescue Exception => e
|
||||
message = "Error monitoring host #{id}."\
|
||||
message = "Error monitoring datastore #{id}."\
|
||||
" Reason: \"#{e.message}\"\n#{e.backtrace}"
|
||||
STDERR.puts error_message(message)
|
||||
exit -1
|
||||
|
Loading…
x
Reference in New Issue
Block a user