From bf76b0ef5e21ac8875c8d8935c40b5ef0f797b47 Mon Sep 17 00:00:00 2001 From: Vladyslav Deryhin Date: Wed, 27 Sep 2023 21:48:54 +0300 Subject: [PATCH] [geth] improve check-readiness script --- dysnix/geth/Chart.yaml | 2 +- dysnix/geth/templates/scripts/_check-readiness.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dysnix/geth/Chart.yaml b/dysnix/geth/Chart.yaml index c36edd5e..de91a590 100644 --- a/dysnix/geth/Chart.yaml +++ b/dysnix/geth/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: geth description: Go-ethereum blockchain node Helm Chart -version: 1.0.3 +version: 1.0.4 appVersion: v1.13.1 keywords: diff --git a/dysnix/geth/templates/scripts/_check-readiness.tpl b/dysnix/geth/templates/scripts/_check-readiness.tpl index 4209e71a..10b0d92f 100644 --- a/dysnix/geth/templates/scripts/_check-readiness.tpl +++ b/dysnix/geth/templates/scripts/_check-readiness.tpl @@ -3,7 +3,7 @@ set -e # Retrieving latest block timestamp get_block_timestamp() { - geth attach --exec "eth.getBlock(eth.blockNumber).timestamp" + geth --{{ .Values.config.eth.network }} --exec "eth.getBlock(eth.blockNumber).timestamp" 2>/dev/null } if [ -z $1 ]; then