vsphere/internal/virtualdevice/virtual_machine_device_subresource.go
func scsiControllerListString(ctlrs []types.BaseVirtualSCSIController) string {
	var l object.VirtualDeviceList
	for _, ctlr := range ctlrs {
		if ctlr == nil {
			l = append(l, types.BaseVirtualDevice(nil))
		} else {
			l = append(l, ctlr.(types.BaseVirtualDevice))
		}
	}
	return DeviceListString(l)
}
func scsiControllerListString(ctlrs []types.BaseVirtualSCSIController) string {
	var l object.VirtualDeviceList
	for _, ctlr := range ctlrs {
		if ctlr == nil {
			l = append(l, types.BaseVirtualDevice(nil))
		} else {
			l = append(l, ctlr.(types.BaseVirtualDevice))
		}
	}
	return DeviceListString(l)
}
func scsiControllerListString ( ctlrs [ ] types . BaseVirtualSCSIController ) string { var l object . VirtualDeviceList for _ , ctlr := range ctlrs { if ctlr == nil { l = append ( l , types . BaseVirtualDevice ( nil ) ) } else { l = append ( l , ctlr . ( types . BaseVirtualDevice ) ) } } return DeviceListString ( l ) }
// scsiControllerListString pretty-prints a slice of SCSI controllers.
scsiControllerListString pretty - prints a slice of SCSI controllers .