app/helpers/vm_helper.rb
Method calculate_disk_name
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def calculate_disk_name(disk)
case disk.device_type
when "cdrom-raw"
"CD-ROM (IDE #{disk.location})"
when "atapi-cdrom"
- Create a ticketCreate a ticket