We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a5f339 commit 61c33d3Copy full SHA for 61c33d3
first-network/scripts/utils.sh
@@ -230,7 +230,7 @@ simulateCommitChaincodeDefinition() {
230
sleep $DELAY
231
echo "Attempting to simulate committing the chaincode definition on peer${PEER}.org${ORG} ...$(($(date +%s) - starttime)) secs"
232
set -x
233
- 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
234
res=$?
235
set +x
236
test $res -eq 0 || continue
0 commit comments