mirror of
https://github.com/thegeeklab/drone-docker.git
synced 2024-11-23 21:30:39 +00:00
fix: fix docker daemon startup
This commit is contained in:
parent
5ee7554d2b
commit
c74867e3c9
@ -29,3 +29,10 @@ linters-settings:
|
|||||||
gofumpt:
|
gofumpt:
|
||||||
extra-rules: true
|
extra-rules: true
|
||||||
lang-version: "1.18"
|
lang-version: "1.18"
|
||||||
|
|
||||||
|
issues:
|
||||||
|
exclude-rules:
|
||||||
|
- path: plugin/daemon.go
|
||||||
|
linters:
|
||||||
|
- errcheck
|
||||||
|
text: "Error return value of `cmd.Run` is not checked"
|
||||||
|
@ -22,6 +22,6 @@ func (p Plugin) startDaemon() {
|
|||||||
}
|
}
|
||||||
go func() {
|
go func() {
|
||||||
trace(cmd)
|
trace(cmd)
|
||||||
_ = cmd.Run()
|
cmd.Run()
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user