Add a node-specific ip echo service to remove dependency on ifconfig.co (#4137) (#4140)

This commit is contained in:
Michael Vines
2019-05-03 12:00:33 -07:00
committed by GitHub
parent 6e6fe5ba4e
commit c55e39166f
20 changed files with 233 additions and 313 deletions

View File

@@ -18,14 +18,14 @@ declare prints=(
# Parts of the tree that are expected to be print free
declare print_free_tree=(
'core/src'
'drone'
'metrics'
'netutil'
'runtime'
'sdk'
'drone/src'
'metrics/src'
'netutil/src'
'runtime/src'
'sdk/src'
)
if _ git grep "${prints[@]/#/-e }" -- "${print_free_tree[@]}"; then
if _ git grep --max-depth=0 "${prints[@]/#/-e }" -- "${print_free_tree[@]}"; then
exit 1
fi