Skip to content

Commit 61c33d3

Browse files
committed
[FAB-15973] use --output json on simulatecommit
Change-Id: Ic31b390898f1981a0138935990ff11a3902007ee Signed-off-by: Matthew Sykes <sykesmat@us.ibm.com>
1 parent 7a5f339 commit 61c33d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

first-network/scripts/utils.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ simulateCommitChaincodeDefinition() {
230230
sleep $DELAY
231231
echo "Attempting to simulate committing the chaincode definition on peer${PEER}.org${ORG} ...$(($(date +%s) - starttime)) secs"
232232
set -x
233-
peer lifecycle chaincode simulatecommit --channelID $CHANNEL_NAME --name mycc $PEER_CONN_PARMS --version ${VERSION} --sequence ${VERSION} --init-required >&log.txt
233+
peer lifecycle chaincode simulatecommit --channelID $CHANNEL_NAME --name mycc $PEER_CONN_PARMS --version ${VERSION} --sequence ${VERSION} --output json --init-required >&log.txt
234234
res=$?
235235
set +x
236236
test $res -eq 0 || continue

0 commit comments

Comments
 (0)