mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-24 01:28:35 +02:00
Fix log
This commit is contained in:
@@ -86,7 +86,7 @@ impl<'de> Deserialize<'de> for SyncModel {
|
|||||||
fn migrate_environment(obj: &mut Mapping) {
|
fn migrate_environment(obj: &mut Mapping) {
|
||||||
match (obj.get("base"), obj.get("parentModel")) {
|
match (obj.get("base"), obj.get("parentModel")) {
|
||||||
(Some(Value::Bool(base)), None) => {
|
(Some(Value::Bool(base)), None) => {
|
||||||
debug!("Migrating legacy environment {}", serde_yaml::to_string(obj).unwrap());
|
debug!("Migrating legacy environment {:?}", obj.get("id"));
|
||||||
if *base {
|
if *base {
|
||||||
obj.insert("parentModel".into(), "workspace".into());
|
obj.insert("parentModel".into(), "workspace".into());
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user