remove dashes from VM names

this is required for forwards compatibility with the surreal upgrade
This commit is contained in:
ghe0 2025-05-30 22:59:15 +03:00
parent af78d20456
commit cf7c7ffbb4
Signed by: ghe0
GPG Key ID: 451028EE56A0FBB4

@ -901,7 +901,7 @@ impl BrainData {
});
return;
}
req.uuid = uuid::Uuid::new_v4().to_string();
req.uuid = uuid::Uuid::new_v4().to_string().replace("-", "");
info!("Inserting new vm request in memory: {req:?}");
self.tmp_newvm_reqs
.insert(req.uuid.clone(), (req.clone(), tx));