diff --git a/crates/churn/src/agent/config.rs b/crates/churn/src/agent/config.rs index 083abac..88c0966 100644 --- a/crates/churn/src/agent/config.rs +++ b/crates/churn/src/agent/config.rs @@ -26,7 +26,7 @@ struct ConfigFile { agent_id: String, discovery: String, - labels: BTreeMap, + labels: Option>, } impl ConfigFile { @@ -55,7 +55,7 @@ impl ConfigFile { let s = Self { agent_id: Uuid::new_v4().to_string(), discovery: discovery.into(), - labels: labels.into(), + labels: Some(labels.into()), }; let directory = dirs::data_dir()