73bb99d09da7850400aaa482f7d418c26097a71f
`NetworksPrune()` is designed to ignore errors encountered during removal of networks, and only print them as warnings. However, the last error encountered was returned by the function, resulting in the prune command to be reported as "failing" wheras it did not. In addition, in situations where a network failed to be removed, the networks that _were_ succesfully removed were not reported back. This patch changes the function to not return the error, and to return the list of networks that were succesfully removed at all times. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 06c4c5f4996bb8890fa0546de2d192217341ada8 Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%