This commit is contained in:
Gregory Schier
2025-10-08 04:25:06 -07:00
parent f1355c9d15
commit d177e164f1

View File

@@ -86,7 +86,7 @@ impl<'de> Deserialize<'de> for SyncModel {
fn migrate_environment(obj: &mut Mapping) {
match (obj.get("base"), obj.get("parentModel")) {
(Some(Value::Bool(base)), None) => {
debug!("Migrating legacy environment {}", serde_yaml::to_string(obj).unwrap());
debug!("Migrating legacy environment {:?}", obj.get("id"));
if *base {
obj.insert("parentModel".into(), "workspace".into());
} else {