moby/volume/mounts
Paweł Gronowski 435ecfe6e0
test/volume: Replace Check with NilError where suitable
In these cases, continuing after a non nil error will result in a nil
dereference in panic.
Change the `assert.Check` to `assert.NilError` to avoid that.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2023-08-10 11:18:56 +02:00
..
fuzz_test.go testing: move fuzzers over from OSS-Fuzz 2022-11-30 17:31:03 +01:00
lcow_parser.go gofmt GoDoc comments with go1.19 2022-07-08 19:56:23 +02:00
lcow_parser_test.go test/volume: Replace Check with NilError where suitable 2023-08-10 11:18:56 +02:00
linux_parser.go volume: remove the short RRO forms in favor of the long forms 2023-07-20 22:34:09 +09:00
linux_parser_test.go test/volume: Replace Check with NilError where suitable 2023-08-10 11:18:56 +02:00
mounts.go swap logrus types for their containerd/logs aliases 2023-08-01 13:02:55 +02:00
parser.go volume: remove the short RRO forms in favor of the long forms 2023-07-20 22:34:09 +09:00
parser_test.go test/volume: Replace Check with NilError where suitable 2023-08-10 11:18:56 +02:00
validate.go volume: format code with gofumpt 2023-06-29 00:05:23 +02:00
validate_test.go volume/mounts: cleanup tests 2023-07-27 15:00:13 +02:00
validate_unix_test.go volume/mounts: cleanup tests 2023-07-27 15:00:13 +02:00
validate_windows_test.go volume/mounts: cleanup tests 2023-07-27 15:00:13 +02:00
volume_copy.go Move mount parsing to separate package. 2018-04-19 06:35:54 -04:00
volume_unix.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
volume_windows.go volume/mounts: move some code to correct location, and minor linting/formatting 2021-07-02 13:25:27 +02:00
windows_parser.go volume: format code with gofumpt 2023-06-29 00:05:23 +02:00
windows_parser_test.go test/volume: Replace Check with NilError where suitable 2023-08-10 11:18:56 +02:00