mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-17 22:21:26 +01:00
Fix log
This commit is contained in:
1 parent
f1355c9d15
commit
d177e164f1
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user