File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1+ //go:build !windows
12// +build !windows
23
34package backend
45
56import (
7+ "errors"
68 "net"
79 "os"
810 "os/signal"
911 "syscall"
1012
1113 "github.com/coreos/go-systemd/v22/activation"
1214 "github.com/coreos/go-systemd/v22/daemon"
13- "github.com/pkg/errors"
1415)
1516
1617func listenFD (addr string ) (net.Listener , error ) {
Original file line number Diff line number Diff line change 1+ //go:build windows
12// +build windows
23
34package backend
45
56import (
7+ "errors"
68 "net"
7-
8- "github.com/pkg/errors"
99)
1010
1111func listenFD (addr string ) (net.Listener , error ) {
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ require (
1717 github.com/opencontainers/go-digest v1.0.0
1818 github.com/opencontainers/image-spec v1.1.1
1919 github.com/opencontainers/runc v1.2.6
20- github.com/pkg/errors v0.9.1
2120 github.com/sirupsen/logrus v1.9.3
2221 github.com/spf13/cobra v1.8.0
2322 github.com/spf13/pflag v1.0.5
@@ -97,6 +96,7 @@ require (
9796 github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
9897 github.com/opencontainers/runtime-spec v1.2.0 // indirect
9998 github.com/opencontainers/selinux v1.11.0 // indirect
99+ github.com/pkg/errors v0.9.1 // indirect
100100 github.com/pmezard/go-difflib v1.0.0 // indirect
101101 github.com/prometheus/client_golang v1.16.0 // indirect
102102 github.com/prometheus/client_model v0.4.0 // indirect
You can’t perform that action at this time.
0 commit comments