mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-31 21:19:55 +00:00
The Cluster struct carried a Private *bool field and the proxy-manager forwarder ClusterSupportsPrivate already existed, but the service manager's CapabilityProvider interface didn't declare it and GetClusters never called it. Result: clusters[i].Private stayed nil and the openapi omitempty stripped the field from the JSON response, hiding the private-cluster signal from the dashboard. - CapabilityProvider gains ClusterSupportsPrivate. - GetClusters populates clusters[i].Private alongside the other capability flags so the dashboard's clusters page can render the private indicator. The concrete CapabilityProvider impl (proxy.Manager) already provides the forwarder, and proxy.MockManager (used by existing tests) is regenerated with the new method already present.