def _convert_units(devices):
    '''
    Updates the size and unit dictionary values with the new unit values

    devices
        List of device data objects
    '''
    if devices:
        for device in devices:
            if 'unit' in device and 'size' in device:
                device.update(
                    salt.utils.vmware.convert_to_kb(device['unit'], device['size']))
    else:
        return False
    return True
Updates the size and unit dictionary values with the new unit values

    devices
        List of device data objects