Skip to content

Commit

Permalink
Revert "chain-initiator.sh: piping to head loses error status"
Browse files Browse the repository at this point in the history
This reverts commit 9e9517c.

Turns out that because pipefail is set, that this commit is incorrect.
I did issues w.r.t. this in testing, but must have been on a branch or
perhaps an older image with a different /bin/sh as I can't reproduce
them any more.
  • Loading branch information
elric1 committed May 24, 2022
1 parent a83dc07 commit fca94da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/tezos/scripts/chain-initiator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ $CLIENT -d /var/tezos/client --block \
{{ .Values.activation.protocol_hash }} \
with fitness -1 and key \
$( cat /etc/tezos/activation_account_name ) \
and parameters /etc/tezos/parameters.json
and parameters /etc/tezos/parameters.json 2>&1 | head -200
2 changes: 1 addition & 1 deletion test/charts/private-chain.expect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,7 @@ spec:
Psithaca2MLRFYargivpo7YvUr7wUDqyxrdhC5CQq78mRvimz6A \
with fitness -1 and key \
$( cat /etc/tezos/activation_account_name ) \
and parameters /etc/tezos/parameters.json
and parameters /etc/tezos/parameters.json 2>&1 | head -200
envFrom:
env:
Expand Down

0 comments on commit fca94da

Please sign in to comment.