Commit d7165149 authored by Graham King's avatar Graham King Committed by GitHub
Browse files

fix: Attach lease to etcd key (#364)

That ensures it gets removed when the process stops.
parent c52c11fb
......@@ -101,7 +101,7 @@ pub async fn run(
.kv_create(
network_name.clone(),
serde_json::to_vec_pretty(&model_registration)?,
None,
Some(etcd_client.lease_id()),
)
.await?;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment