mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
![]() In cases where the a plugin responds with both a null or empty volume
and a null or empty Err, the daemon would panic.
This is because we assumed the idiom if `err` is nil, then `v` must not
be but in reality the plugin may return whatever it wants and we want to
make sure it doesn't harm the daemon.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
drivers | ||
local | ||
store | ||
testutils | ||
volume.go | ||
volume_propagation_linux.go | ||
volume_propagation_linux_test.go | ||
volume_propagation_unsupported.go | ||
volume_test.go | ||
volume_unix.go | ||
volume_windows.go |