HDDS-1167. Error in hadoop-ozone/dev-support/checks/checkstyle.sh.

Contributed by Nandakumar.
This commit is contained in:
Anu Engineer 2019-02-23 20:45:01 -08:00
parent 014e17af78
commit fb546d1807
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
# limitations under the License.
mvn -fn checkstyle:check -am -pl :hadoop-ozone-dist -Phdds
violations=$(grep -r error --include checkstyle-errors.xml | wc -l)
violations=$(grep -r error --include checkstyle-errors.xml .| wc -l)
if [[ $violations -gt 0 ]]; then
echo "There are $violations checkstyle violations"
exit -1