Project

General

Profile

« Previous | Next » 

Revision 7e27bdf3

Added by Dominic Cleal about 10 years ago

fixes #4590 - convert VMware SCSI controller type during creation

View differences:

app/models/compute_resources/foreman/model/vmware.rb
args[collection] = nested_attributes_for(collection, nested_attrs) if nested_attrs
end
if args[:scsi_controller_type].present?
args[:scsi_controller] = {:type => args.delete(:scsi_controller_type)}
end
args.reject! { |k, v| v.nil? }
args
end

Also available in: Unified diff