const ProxmoxService = require('../services/proxmox.service');

const getOverview = async (req, res) => {
    try {
        const data = await ProxmoxService.getAll();
        res.json(data);
    } catch (e) {
        res.status(503).json({ error: 'Proxmox nicht erreichbar', detail: e.message });
    }
};

module.exports = { getOverview };
