]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-ansible-pr-syntax-check: fix typo 1112/head
authorSébastien Han <seb@redhat.com>
Tue, 28 Aug 2018 16:42:45 +0000 (09:42 -0700)
committerSébastien Han <seb@redhat.com>
Tue, 28 Aug 2018 16:42:45 +0000 (09:42 -0700)
The directory we are looking for is called group_vars not group_var

Signed-off-by: Sébastien Han <seb@redhat.com>
ceph-ansible-pr-syntax-check/build/build

index 29d48faf704a7dab7d9a69b360fd9fc88e57344f..a35f0d16817ffbb33da0d91fdba56603f7c7eb08 100644 (file)
@@ -39,7 +39,7 @@ function group_vars_check {
   fi
 
   # we use || true so we still count and don't fail if we don't find anything
-  nb_group_vars=$(match_file "group_var/" | wc -l)
+  nb_group_vars=$(match_file "group_vars/" | wc -l)
   if [[ "$nb" -ne "$nb_group_vars" ]]; then
     echo "One or more files containing default variables has/have been modified."
     echo "You must run 'generate_group_vars_sample.sh' to generate the group_vars template files."