1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2025-06-13 06:21:33 +03:00

More debugging.

This commit is contained in:
Will Rouesnel
2018-11-11 21:58:17 +11:00
parent fd4691cbc0
commit 4a74bf13f6
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,9 @@
# output by the exporter and then build lists of added/removed metrics.
old_src="$1"
[ ! -e "$old_src" ] && exit 1
if [ ! -d "$old_src" ] ; then
mkdir -p "$old_src"
fi
function generate_add_removed() {
type="$1"