Skip to content

Commit 0d18714

Browse files
Merge pull request containerd#61 from KentaTada/modify-pdeathsignal-type
Change the type of PdeathSignal
2 parents 7016d3c + 421b4ca commit 0d18714

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runc.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ import (
2929
"path/filepath"
3030
"strconv"
3131
"strings"
32-
"syscall"
3332
"time"
3433

3534
specs "github.com/opencontainers/runtime-spec/specs-go"
35+
"golang.org/x/sys/unix"
3636
)
3737

3838
// Format is the type of log formatting options avaliable
@@ -63,7 +63,7 @@ type Runc struct {
6363
Debug bool
6464
Log string
6565
LogFormat Format
66-
PdeathSignal syscall.Signal
66+
PdeathSignal unix.Signal
6767
Setpgid bool
6868
Criu string
6969
SystemdCgroup bool

0 commit comments

Comments
 (0)