client: dev-tools: lib_linter: return compose down
- Don't return value of network removal * compose value is more appropriate - Silence error warning * will complain if network is already in use
This commit is contained in:
@@ -256,7 +256,10 @@ function lib_linter::__linter()
|
|||||||
popd 1>/dev/null || lib_utils::die_fatal
|
popd 1>/dev/null || lib_utils::die_fatal
|
||||||
|
|
||||||
lib_docker::__docker_compose down
|
lib_docker::__docker_compose down
|
||||||
docker network rm "$global_network" 1>/dev/null
|
local -r _ret=$?
|
||||||
|
|
||||||
|
docker network rm "$global_network" 2>/dev/null # Don't force, if in use
|
||||||
|
return $_ret
|
||||||
}
|
}
|
||||||
|
|
||||||
function lib_linter::linter()
|
function lib_linter::linter()
|
||||||
|
|||||||
Reference in New Issue
Block a user