[inactive-gitlab-users] Dump the json generated file on stdout



commit 7149bbb442580e15175ae4b873d9fb90ea73765d
Author: Andrea Veri <averi redhat com>
Date:   Tue Sep 3 19:31:38 2019 +0200

    Dump the json generated file on stdout

 inactive-gitlab-users.sh | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/inactive-gitlab-users.sh b/inactive-gitlab-users.sh
index 56d0596..9053fef 100755
--- a/inactive-gitlab-users.sh
+++ b/inactive-gitlab-users.sh
@@ -2,3 +2,6 @@
 
 cd /usr/local/sysadmin-bin/gitlab && \
 python3 ./inactive-gitlab-users.py get-inactive -t ${TIMEDELTA_UNIT}:${TIMEDELTA_VALUE} > 
/tmp/inactive-gitlab-users.json
+
+echo "Dumping json on pod's stdout"
+cat /tmp/inactive-gitlab-users.json


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]