mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 13:15:14 +09:00
F 4913: Use VCENTER_NAME to monitor datastores
This commit is contained in:
1 parent
81897e9bb8
commit
f0d34ca603
1 file changed
+1
-1
@@ -39,7 +39,7 @@ id = ARGV[1]
|
||||
drv_action = OpenNebula::XMLElement.new
|
||||
drv_action.initialize_xml(Base64.decode64(drv_action_enc), 'DS_DRIVER_ACTION_DATA')
|
||||
|
||||
ds_name = drv_action["/DS_DRIVER_ACTION_DATA/DATASTORE/NAME"]
|
||||
ds_name = drv_action["/DS_DRIVER_ACTION_DATA/DATASTORE/TEMPLATE/VCENTER_NAME"]
|
||||
hostname = drv_action["/DS_DRIVER_ACTION_DATA/DATASTORE/TEMPLATE/VCENTER_CLUSTER"]
|
||||
|
||||
if ds_name.nil? ||
|
||||
|
||||
Reference in new issue
Block a user