mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-08 00:17:31 +00:00
grpc: Fix the issue passing wrong exec_id to exec process
This issue was brought accidently by PR #174, fix this issue. Signed-off-by: fupan.lfp <fupan.lfp@antfin.com>
This commit is contained in:
parent
c948d8a802
commit
7d9bdf7b01
@ -284,7 +284,7 @@ impl agentService {
|
||||
|
||||
let pipe_size = AGENT_CONFIG.read().unwrap().container_pipe_size;
|
||||
let ocip = rustjail::process_grpc_to_oci(process);
|
||||
let p = Process::new(&sl!(), &ocip, cid.as_str(), false, pipe_size)?;
|
||||
let p = Process::new(&sl!(), &ocip, exec_id.as_str(), false, pipe_size)?;
|
||||
|
||||
let ctr = match sandbox.get_container(cid.as_str()) {
|
||||
Some(v) => v,
|
||||
|
Loading…
Reference in New Issue
Block a user