Skip to content

Commit 421b4ca

Browse files
Kenta TadaKenta Tada
Kenta Tada
authored and
Kenta Tada
committed
Change the type of PdeathSignal
Use x/sys instead of syscall Signed-off-by: Kenta Tada <[email protected]>
1 parent 7016d3c commit 421b4ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runc.go

Lines changed: 2 additions & 2 deletions
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)