dep ensure for Prometheus deps

This commit is contained in:
Konrad Wojas
2017-10-25 12:18:30 +08:00
committed by Zlatko Čalušić
parent 4cd82b6802
commit ff6270ab62
115 changed files with 7486 additions and 8793 deletions

15
vendor/github.com/spf13/pflag/verify/golint.sh generated vendored Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
ROOT=$(dirname "${BASH_SOURCE}")/..
GOLINT=${GOLINT:-"golint"}
pushd "${ROOT}" > /dev/null
bad_files=$($GOLINT -min_confidence=0.9 ./...)
if [[ -n "${bad_files}" ]]; then
echo "!!! '$GOLINT' problems: "
echo "${bad_files}"
exit 1
fi
popd > /dev/null
# ex: ts=2 sw=2 et filetype=sh