fixed json formatting

This commit is contained in:
2025-10-29 21:07:29 +01:00
parent b134be4c88
commit 375b4450f0
5 changed files with 599 additions and 23 deletions

View File

@@ -114,10 +114,11 @@ async fn main() -> Result<(), Box<dyn Error + Send + Sync>> {
let container_dto = if let Some(ref docker_manager) = docker_manager {
docker_manager.create_registration_dto().await?
} else {
println!("Fallback for failing registration");
models::DockerRegistrationDto {
server_id: 0,
//container_count: 0, --- IGNORE ---
containers: Vec::new(),
containers: serde_json::to_value(&"")?,
}
};
let _ =