From 0e15b49369eb6dc1d1f6f23fb4dadda4797eb16a Mon Sep 17 00:00:00 2001 From: Xynnn007 Date: Fri, 13 Jun 2025 10:23:36 +0800 Subject: [PATCH] agent: get rid of init_image_service we do not need to initialize image service in kata-agent now, as it's initialized in CDH. Signed-off-by: Xynnn007 --- src/agent/src/rpc.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/agent/src/rpc.rs b/src/agent/src/rpc.rs index 278cc947ad..1ebdb87d0c 100644 --- a/src/agent/src/rpc.rs +++ b/src/agent/src/rpc.rs @@ -1328,10 +1328,6 @@ impl agent_ttrpc::AgentService for AgentService { s.network.set_dns(dns); } } - #[cfg(feature = "guest-pull")] - confidential_data_hub::image::init_image_service() - .await - .map_ttrpc_err(same)?; Ok(Empty::new()) }