fix(mcp): renewer logs a single TTL value

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ginnoirandClaude Opus 5.5 committed 2026-12-02 18:21:51 -06:00
1 parent d51bad2277
commit 417cd3165f
1 file changed
+1 -1
+1 -1
View File
@@ -73,7 +73,7 @@ services:
- |
while :; do
if out=$$(vault token renew -format=json 2>&1); then
echo "$$(date -u +%FT%TZ) renewed (ttl $$(echo "$$out" | grep -o '"lease_duration": [0-9]*' | grep -o '[0-9]*')s)"
echo "$$(date -u +%FT%TZ) renewed (ttl $$(echo "$$out" | grep -o '"lease_duration": [0-9]*' | grep -o '[0-9]*' | tail -1)s)"
sleep 86400
else
echo "$$(date -u +%FT%TZ) RENEW FAILED: $$out"