Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kant777 authored Jan 13, 2024
1 parent 0a869b4 commit e75c17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geth-poa/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fi
# Obtain assigned container IP for p2p
NODE_IP=${NODE_IP:-$(hostname -i)}

if [ -n "$PUBLIC_NODE_IP" ]; then
if [ -n "${PUBLIC_NODE_IP:-}" ]; then
NAT_FLAG="--nat=extip:$PUBLIC_NODE_IP"
else
NAT_FLAG="--nat=none"
Expand Down

0 comments on commit e75c17b

Please sign in to comment.