Merge branch 'MON-437_fix_readme_loop_scope' into 'master'
Revert "MON-437 add missing scope to readme script" Closes MON-437 See merge request claranet/pt-monitoring/projects/datadog/terraform/monitors!50
This commit is contained in:
commit
37e267cb2c
@ -10,7 +10,7 @@ sed -i '/### Monitors summary ###/q' README.md
|
|||||||
# add a newline after listing section
|
# add a newline after listing section
|
||||||
echo >> README.md
|
echo >> README.md
|
||||||
# loop over all ready monitors sets on the repo
|
# loop over all ready monitors sets on the repo
|
||||||
for path in $(find "$(get_scope $1)" -mindepth 1 \( -path './incubator' -o -path './scripts' -o -path './testing' -o -path '*/\.*' \) -prune -o -type d -print | sort -fdbi); do
|
for path in $(find -mindepth 1 \( -path './incubator' -o -path './scripts' -o -path './testing' -o -path '*/\.*' \) -prune -o -type d -print | sort -fdbi); do
|
||||||
# split path in directories
|
# split path in directories
|
||||||
directories=($(list_dirs $path))
|
directories=($(list_dirs $path))
|
||||||
# loop over directories in path
|
# loop over directories in path
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user