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

@@ -12,6 +12,7 @@
use crate::docker::stats;
use serde::{Deserialize, Serialize};
use serde_json::Value;
/// Registration data sent to the backend server.
///
@@ -199,7 +200,7 @@ pub struct DockerRegistrationDto {
/// image: docker image name
/// name: container name
#[serde(rename = "Containers")]
pub containers: Vec<DockerContainer>, // Vec<DockerContainer>,
pub containers: Value, // Vec<DockerContainer>,
}
#[derive(Debug, Serialize, Clone)]