Skip to content

Commit 24f8569

Browse files
committed
Move PEER_IP to top
Signed-off-by: Osama Rabea <159753803+OsamaRab3@users.noreply.github.com>
1 parent f35c37a commit 24f8569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/chaincodes/java-chaincode/run-dev.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ set -eu
66
CHAINCODE_NAME="chaincode1"
77
CHAINCODE_VERSION="0.0.1"
88
CHANNEL_NAME="my-channel1"
9+
PEER_IP="0.0.0.0"
910
PEER_NAME="peer0.org1.example.com"
1011
JAR_PATH="build/libs/chaincode-all.jar"
1112

@@ -41,7 +42,6 @@ if [ -z "$CHAINCODE_PORT" ]; then
4142
exit 1
4243
fi
4344

44-
PEER_IP="0.0.0.0"
4545

4646
echo "Testing connectivity to peer at $PEER_IP:$CHAINCODE_PORT..."
4747
if ! nc -z $PEER_IP $CHAINCODE_PORT 2>/dev/null; then

0 commit comments

Comments
 (0)