added error handling in metrics handle
This commit is contained in:
@@ -235,7 +235,7 @@ pub struct DockerContainerCpuDto {
|
||||
|
||||
#[derive(Debug, Serialize, Clone)]
|
||||
pub struct DockerContainerRamDto {
|
||||
pub cpu_load: Option<f64>,
|
||||
pub ram_load: Option<f64>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Clone)]
|
||||
|
||||
Reference in New Issue
Block a user