Add support for different endpoint types for Cloud NAT
This commit is contained in:
committed by
Wiktor Niesiobędzki
parent
d1f7210fa8
commit
1f40f2e573
@@ -17,6 +17,8 @@
|
||||
set -e
|
||||
|
||||
SCRIPT_DIR=$(dirname -- "$(readlink -f -- "$0")")
|
||||
TFDOC_CMD="${SCRIPT_DIR}/tfdoc.py"
|
||||
CHECKDOC_CMD="${SCRIPT_DIR}/check_documentation.py"
|
||||
|
||||
for file in "$@"; do
|
||||
if [ -d "${file}" ]; then
|
||||
@@ -28,4 +30,4 @@ for file in "$@"; do
|
||||
echo "${dir}"
|
||||
fi
|
||||
|
||||
done | sort | uniq | xargs -I {} /bin/sh -c "echo python \"${SCRIPT_DIR}/tfdoc.py\" {} ; python \"${SCRIPT_DIR}/tfdoc.py\" {}"
|
||||
done | sort | uniq | xargs -I {} /bin/sh -c "echo python \"${TFDOC_CMD}\" {} ; python \"${TFDOC_CMD}\" {} ; echo python \"${CHECKDOC_CMD}\" {} ; python \"${CHECKDOC_CMD}\" {}"
|
||||
|
||||
Reference in New Issue
Block a user