mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 03:42:52 +09:00
Fix wrong resource name in debug string
For DS monitor vCenter probe
(cherry picked from commit fc9cb76090)
This commit is contained in:
1 parent
88f56cf508
commit
88013d00bb
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user