mirror of
https://github.com/OpenNebula/one.git
synced 2025-02-15 05:57:23 +03:00
M #-: Add comment about disk structucre
in vCenter monitoring
This commit is contained in:
parent
0dd55399a5
commit
91ba298e77
@ -275,6 +275,10 @@ module VirtualMachineMonitor
|
||||
info_disks.each do |disk|
|
||||
next if disk[1].no_exists?
|
||||
|
||||
# disk[0] contains the disk ID in OpenNebula or the disk path if
|
||||
# there is no corresponding OpenNebula disk
|
||||
# disk[1] contains the vcenter resource corresponding to the VM disk
|
||||
|
||||
# Delete special characters
|
||||
name = disk[0].gsub(/[^0-9A-Za-z]/, '_')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user