Skip to content

Commit

Permalink
[FAB-15973] use --output json on simulatecommit
Browse files Browse the repository at this point in the history
Change-Id: Ic31b390898f1981a0138935990ff11a3902007ee
Signed-off-by: Matthew Sykes <sykesmat@us.ibm.com>
  • Loading branch information
sykesm committed Jul 16, 2019
1 parent 7a5f339 commit 61c33d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion first-network/scripts/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 61c33d3

Please sign in to comment.