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 <xynnn@linux.alibaba.com>
This commit is contained in:
Xynnn007 2025-06-13 10:23:36 +08:00
parent 22c50cae7b
commit 0e15b49369

View File

@ -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())
}