Skip to content

Commit b911784

Browse files
authored
Merge pull request #268 from akshaylg0314/main
feat(api)-Resolved Bug for containerstats info[#267]
2 parents 77d08fb + d7ee736 commit b911784

File tree

1 file changed

+1
-1
lines changed
  • src/agent/nodeagent/src/resource

1 file changed

+1
-1
lines changed

src/agent/nodeagent/src/resource/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ pub struct ContainerStats {
137137
#[derive(Deserialize, Debug)]
138138
pub struct ContainerCpuStats {
139139
pub cpu_usage: ContainerCpuUsage,
140-
pub online_cpus: u64,
140+
pub online_cpus: Option<u64>,
141141
}
142142

143143
#[allow(non_snake_case, unused)]

0 commit comments

Comments
 (0)