diff options
-rw-r--r-- | Cargo.toml | 1 | ||||
-rw-r--r-- | src/commands/endpoint.rs | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -15,6 +15,7 @@ anyhow = "1" aquamarine = "0.1.6" ascii_table = ">= 3.0.2" atty = "0.2" +bytesize = "1" chrono = "0.4" clap = "3.0.0-beta.2" clap_generate = "3.0.0-beta.2" diff --git a/src/commands/endpoint.rs b/src/commands/endpoint.rs index 128613a..41dae04 100644 --- a/src/commands/endpoint.rs +++ b/src/commands/endpoint.rs @@ -183,7 +183,7 @@ async fn stats(endpoint_names: Vec<String>, stat.containers.to_string(), stat.images.to_string(), stat.kernel_version, - stat.mem_total.to_string(), + bytesize::ByteSize::b(stat.mem_total).to_string(), stat.memory_limit.to_string(), stat.n_cpu.to_string(), stat.operating_system.to_string(), |