mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(relay): set a Firezone ID to enable feature-flags (#8657)
Our feature-flags are currently coupled to our Firezone ID. Without a Firezone ID, we cannot evaluate feature flags. In order to be able to use the feature flags to enable / disable the eBPF TURN router, we see a random UUID as the Firezone ID upon startup of the relay. Not setting this causes the eBPF router to currently be instantly disabled as soon as we start up because the default of the feature flag is false and we don't reevaluate it later due to the missing ID.
This commit is contained in:
@@ -117,6 +117,7 @@ fn main() {
|
||||
VERSION.unwrap_or("unknown"),
|
||||
RELAY_DSN,
|
||||
);
|
||||
Telemetry::set_firezone_id(uuid::Uuid::new_v4().to_string());
|
||||
}
|
||||
|
||||
let runtime = tokio::runtime::Builder::new_current_thread()
|
||||
|
||||
Reference in New Issue
Block a user