Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: fupan <[email protected]>
  • Loading branch information
lifupan committed Jul 10, 2018
1 parent efce5ff commit 12644d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/pod/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func (p *XPod) KillExec(execId string, sig int64) error {
p.Log(ERROR, err)
return err
}

fmt.Printf("===============================kill container's %s process %s with %d\n", es.Container, es.Id, sig)
return p.protectedSandboxOperation(
func(sb vc.VCSandbox) error {
return sb.SignalProcess(es.Container, es.Id, syscall.Signal(sig), true)
Expand Down

0 comments on commit 12644d6

Please sign in to comment.