makefile: remove shell loop that was ignoring errors

revive would only fail if rbd had errors due to the loop being in shell.
Now we expand the modules list as arguments to revive which then
invokes revive only once and properly handles errors.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2020-03-28 13:20:13 -04:00 committed by John Mulligan
parent 71d533d14f
commit 973def5658
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ check-ceph-version:
check:
# Configure project's revive checks using .revive.toml
# See: https://github.com/mgechev/revive
@for d in $$(go list ./... | grep -v /vendor/); do revive -config .revive.toml $${d}; done
revive -config .revive.toml $$(go list ./... | grep -v /vendor/)
# Do a quick compile only check of the tests and impliclity the
# library code as well.