Skip to content

Commit

Permalink
change ws/http substitution to first occurrence only
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto Bayardo authored Nov 7, 2023
1 parent 343455c commit cc1ac1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op-node-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [[ -z "$OP_NODE_NETWORK" ]]; then
fi

# wait until local geth comes up (authed so will return 401 without token)
until [ "$(curl -s -w '%{http_code}' -o /dev/null "${OP_NODE_L2_ENGINE_RPC//ws/http}")" -eq 401 ]; do
until [ "$(curl -s -w '%{http_code}' -o /dev/null "${OP_NODE_L2_ENGINE_RPC/ws/http}")" -eq 401 ]; do
echo "waiting for geth to be ready"
sleep 5
done
Expand Down

0 comments on commit cc1ac1f

Please sign in to comment.