From 483f4c3e47e0c694a98ad5e4c96f020e6d43d574 Mon Sep 17 00:00:00 2001 From: riccardom Date: Fri, 25 Sep 2026 14:39:38 +0200 Subject: [PATCH] [client] Say in --upload-bundle-url's help that an MDM policy overrides it The text read as though the flag decided the destination. On a managed device it does not: the debugBundleUploadURL policy wins, and the flag is ignored with a line in the log. Someone passing it and seeing the bundle land elsewhere has no way to know why from the help alone. --- client/cmd/debug.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmd/debug.go b/client/cmd/debug.go index bc2be1e99..4a2ceccc9 100644 --- a/client/cmd/debug.go +++ b/client/cmd/debug.go @@ -32,7 +32,7 @@ const errCloseConnection = "Failed to close connection: %v" // and PUTs its own logs and state to whatever it returns. const uploadBundleURLUsage = "Upload service URL to get an upload URL from. " + "Defaults to the one the management server publishes, or to NetBird's service when it publishes none; " + - "naming any host other than NetBird's requires root" + "naming any host other than NetBird's requires root, and an MDM policy overrides whatever is named here" var ( logFileCount uint32