feat(kube): FreeLens parity — PTY shells, metrics, port-forward, and UX fixes #88

Merged
sarman merged 5 commits from feature/freelens-parity-complete into master 2026-06-10 02:10:30 +00:00
Showing only changes of commit 06d29b8042 - Show all commits

View File

@ -1169,11 +1169,7 @@ fn parse_pods_json(json_str: &str) -> Result<Vec<PodInfo>, String> {
.map(|container_statuses| {
container_statuses
.iter()
.map(|c| {
c.get("restartCount")
.and_then(|r| r.as_u64())
.unwrap_or(0) as u32
})
.map(|c| c.get("restartCount").and_then(|r| r.as_u64()).unwrap_or(0) as u32)
.sum::<u32>()
});