[inactive-gitlab-users] Revert "get-inactive should write its own JSON file"



commit b2bd68b9ddf381d18f251386ecec74eb776a4c4e
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Mon Nov 29 14:22:46 2021 +0100

    Revert "get-inactive should write its own JSON file"
    
    This reverts commit fa30d163ae88fca88dc730f1d5f16777dc32787b.

 inactive-gitlab-users.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/inactive-gitlab-users.sh b/inactive-gitlab-users.sh
index 4a4b221..1598d33 100755
--- a/inactive-gitlab-users.sh
+++ b/inactive-gitlab-users.sh
@@ -8,7 +8,7 @@ cd /usr/local/sysadmin-bin/gitlab
 python3 ./inactive-gitlab-users.py trust-groups >/dev/null
 python3 ./inactive-gitlab-users.py trust-2fa >/dev/null
 python3 ./inactive-gitlab-users.py snippets
-python3 ./inactive-gitlab-users.py get-inactive -t ${TIMEDELTA_UNIT}:${TIMEDELTA_VALUE}
+python3 ./inactive-gitlab-users.py get-inactive -t ${TIMEDELTA_UNIT}:${TIMEDELTA_VALUE} > /tmp/inactive.json
 python3 ./inactive-gitlab-users.py delete-from-json /tmp/inactive.json
 
 echo "Dumping json on pod's stdout"


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