Skip to content

Commit

Permalink
agent: add signal value to log
Browse files Browse the repository at this point in the history
For signal_process call, log the signal value in logs.

Signed-off-by: Bin Liu <bin@hyper.sh>
  • Loading branch information
liubin committed Dec 2, 2022
1 parent fb2c142 commit 9ccf2eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/agent/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ impl AgentService {
"signal process";
"container-id" => cid.clone(),
"exec-id" => eid.clone(),
"signal" => req.signal,
);

let mut sig: libc::c_int = req.signal as libc::c_int;
Expand Down

0 comments on commit 9ccf2eb

Please sign in to comment.