1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/graphdriver/copy
Kir Kolyshkin 365a63a573
daemon/graphdriver/copy: rm dead code
Here, err is never non-nil as it was checked earlier.

Fixes the following linter warning:

> daemon/graphdriver/copy/copy.go:136:10: nilness: impossible condition: nil != nil (govet)
>		if err != nil {
>		       ^

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2019-09-18 12:57:23 +02:00
..
copy.go daemon/graphdriver/copy: rm dead code 2019-09-18 12:57:23 +02:00
copy_cgo.go copy: allow non-cgo build 2019-06-05 22:21:11 -07:00
copy_nocgo.go copy: allow non-cgo build 2019-06-05 22:21:11 -07:00
copy_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00