From 77c87a09907530079eff3e0fc2aa6a111217bc03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Tue, 5 Nov 2024 15:15:17 +0100 Subject: [PATCH] agent: fix typo on getting EphemeralHandler size option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Most likely this was overlooked during the development / review, but we're actually interested on the size rather than on the pagesize of the hugepages. Signed-off-by: Fabiano FidĂȘncio --- src/agent/src/storage/ephemeral_handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agent/src/storage/ephemeral_handler.rs b/src/agent/src/storage/ephemeral_handler.rs index 50789b347b..f544279ae2 100644 --- a/src/agent/src/storage/ephemeral_handler.rs +++ b/src/agent/src/storage/ephemeral_handler.rs @@ -170,7 +170,7 @@ impl EphemeralHandler { let size = size_str .unwrap() .parse::() - .context(format!("parse size: {:?}", &pagesize_str))?; + .context(format!("parse size: {:?}", &size_str))?; Ok((pagesize, size)) }