From 9d4bf32be5fbf6d17706cb0fa06a299820fcabd7 Mon Sep 17 00:00:00 2001
From: Quentin Duchemin <quentinduchemin@tuta.io>
Date: Mon, 1 Jun 2020 23:15:41 +0200
Subject: [PATCH] [PicaMetrics] Fix exemple secret values

---
 pica-metrics-bot/entrypoint.sh                   | 1 +
 pica-metrics-bot/secrets/account.secrets.example | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/pica-metrics-bot/entrypoint.sh b/pica-metrics-bot/entrypoint.sh
index b198c792..8f23df0a 100644
--- a/pica-metrics-bot/entrypoint.sh
+++ b/pica-metrics-bot/entrypoint.sh
@@ -33,5 +33,6 @@ INTERVAL_SECONDS=${INTERVAL_SECONDS:-60}
 while :
 do
   python3 main.py
+	echo "$(date) : Gathering stats..."
   sleep $INTERVAL_SECONDS
 done
diff --git a/pica-metrics-bot/secrets/account.secrets.example b/pica-metrics-bot/secrets/account.secrets.example
index 53dcaef1..3610e14b 100644
--- a/pica-metrics-bot/secrets/account.secrets.example
+++ b/pica-metrics-bot/secrets/account.secrets.example
@@ -1,4 +1,4 @@
-INFLUXDB_USER=user
+INFLUXDB_USER=picasoft-write
 INFLUXDB_PASSWORD=password
 MATTERMOST_USER=user
 MATTERMOST_PASSWORD=password
-- 
GitLab