• fix(netbird): query customer before use in stop/start/restart

    twothatIT released this 2026-02-24 11:12:17 +01:00 | 21 commits to main since this release

    In stop_customer, start_customer and restart_customer the local variable
    'customer' was referenced on the instance_dir line before it was assigned
    (it was only queried after the docker compose call). This caused an
    UnboundLocalError (HTTP 500) on every stop/start/restart action.

    Fix: move the customer query to the top of each function alongside the
    deployment and config queries.

    Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

    Downloads