Skip to content

Commit

Permalink
debug toml file
Browse files Browse the repository at this point in the history
  • Loading branch information
rawdaGastan committed May 23, 2024
1 parent c7cf082 commit 91cf43f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docker2fl/src/docker2fl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,18 @@ async fn container_boot(
}
}

log::debug!(
"Creating '.startup.toml' file from container {:?}",
container_config.working_dir
);

if container_config.working_dir.is_some() {
cwd = container_config.working_dir.unwrap();
}

let metadata = json!({
"startup": {
"": "",
"entry": {
"name": "core.system",
"args": {
Expand All @@ -247,6 +253,10 @@ async fn container_boot(
}
}
});
log::debug!(
"Creating '.startup.toml' file from container {:?}",
metadata
);

let toml_metadata: toml::Value = serde_json::from_str(&metadata.to_string())?;

Expand Down

0 comments on commit 91cf43f

Please sign in to comment.