From f0b41626e5af1040863057dc24858c4788edf07f Mon Sep 17 00:00:00 2001 From: Jack Wills <32690432+mrjackwills@users.noreply.github.com> Date: Wed, 7 Sep 2022 04:22:48 +0000 Subject: [PATCH] docs: changelog --- CHANGELOG.md | 2 ++ src/docker_data/mod.rs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7ea22b..ea0d653 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,11 @@ + github action publish to crates.io, [90b2e3f6db0d5f63840cd80888a30da6ecc22f20] + derive Eq where appropriate, [d7c2601f959bc12a64cd25cef59c837e1e8c2b2a] + ignore containers 'oxker' containers, [1be9f52ad4a68f93142784e9df630c59cdec0a79] ++ update container info if container is either running OR restarting, [5f12362db7cb61ca68f75b99ecfc9725380d87d2] ### Fixes + devcontainer updated, [3bde4f5629539cab3dbb57556663ab81685f9d7a] ++ Use Binate value to enable two cycles of cpu/mem update to be executed (for each container) at the same time, refactor hashmap spawn sinsertions, [7ec58e79a1316ad1f7e50a2781dea0fe8422c588] ### Refactors + improved way to remove leading '/' of container name, [832e9782d7765872cbb84df6b3703fc08cb353c9] diff --git a/src/docker_data/mod.rs b/src/docker_data/mod.rs index edd634d..f874aa1 100644 --- a/src/docker_data/mod.rs +++ b/src/docker_data/mod.rs @@ -31,7 +31,7 @@ enum SpawnId { } /// Cpu & Mem stats take twice as long as the update interval to get a value, so will have two being executed at the same time -/// SpawnId::Stats takes container_id and binate value to enable both cycles of the same container to be inserted into the hashmap +/// SpawnId::Stats takes container_id and binate value to enable both cycles of the same container_id to be inserted into the hashmap /// Binate value is toggled when all join handles have been spawned off #[derive(Debug, Hash, Clone, PartialEq, Eq)] enum Binate { @@ -172,7 +172,7 @@ impl DockerData { )) }); } - self.binate.toggle() + self.binate.toggle(); } /// Get all current containers, handle into ContainerItem in the app_data struct rather than here