[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.
This commit is contained in:
riccardom
2026-09-25 14:39:38 +02:00
parent 578acab52d
commit 483f4c3e47
+1 -1
View File
@@ -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