From 61c33d3fba7ba00ff23f05f79268a04b032065eb Mon Sep 17 00:00:00 2001 From: Matthew Sykes Date: Tue, 16 Jul 2019 12:24:11 -0400 Subject: [PATCH] [FAB-15973] use --output json on simulatecommit Change-Id: Ic31b390898f1981a0138935990ff11a3902007ee Signed-off-by: Matthew Sykes --- first-network/scripts/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/first-network/scripts/utils.sh b/first-network/scripts/utils.sh index e7d1a95d44..1a427c199a 100755 --- a/first-network/scripts/utils.sh +++ b/first-network/scripts/utils.sh @@ -230,7 +230,7 @@ simulateCommitChaincodeDefinition() { sleep $DELAY echo "Attempting to simulate committing the chaincode definition on peer${PEER}.org${ORG} ...$(($(date +%s) - starttime)) secs" set -x - peer lifecycle chaincode simulatecommit --channelID $CHANNEL_NAME --name mycc $PEER_CONN_PARMS --version ${VERSION} --sequence ${VERSION} --init-required >&log.txt + peer lifecycle chaincode simulatecommit --channelID $CHANNEL_NAME --name mycc $PEER_CONN_PARMS --version ${VERSION} --sequence ${VERSION} --output json --init-required >&log.txt res=$? set +x test $res -eq 0 || continue