From 5c665c13996ccf678df63333c2d8c8178f705dce Mon Sep 17 00:00:00 2001 From: riccardom Date: Mon, 14 Sep 2026 09:18:59 +0200 Subject: [PATCH] [client] Correct the stale cloud-only note on the UI's upload option The comment still described the fallback as reached only by a peer enrolled with NetBird's cloud, which stopped being true when the default became NetBird's service for every deployment. Left as it was, a maintainer would read it and assume self-hosted peers keep their bundles local. Reported by cubic on #7514. --- client/ui/frontend/src/contexts/DebugBundleContext.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/ui/frontend/src/contexts/DebugBundleContext.tsx b/client/ui/frontend/src/contexts/DebugBundleContext.tsx index d20d4dad8..64cc77933 100644 --- a/client/ui/frontend/src/contexts/DebugBundleContext.tsx +++ b/client/ui/frontend/src/contexts/DebugBundleContext.tsx @@ -70,10 +70,10 @@ type BundleOptions = { hasWindow: boolean; totalSec: number; // Whether to upload at all. The destination is the daemon's to pick: it - // takes the one the management server publishes, and only falls back to the - // service NetBird runs for a peer enrolled with NetBird's cloud. The UI must - // not name a vendor endpoint of its own, or a self-hosted deployment would - // ship its bundles out of the operator's control sphere. + // takes the one the management server publishes, and falls back to the + // service NetBird runs when it publishes none. The UI must not name a vendor + // endpoint of its own, or an operator who configured their own destination + // would be bypassed by the client they ship. upload: boolean; anonymizeLevel: AnonymizeLevel; systemInfo: boolean;