test-network deployCC.sh invoke chaincode inconsistency

Keep consistency of the function called in the "no TLS" and "with TLS" cases

Signed-off-by: Jon <woodyjon@gmail.com>
Signed-off-by: Jonathan Gross <woodyjon@gmail.com>
This commit is contained in:
Jon 2020-02-13 16:12:50 +01:00 committed by Jonathan Gross
parent 5b294deceb
commit e02e9f4d12

View file

@ -222,7 +222,7 @@ chaincodeInvokeInit() {
set +x set +x
else else
set -x set -x
peer chaincode invoke -o localhost:7050 --ordererTLSHostnameOverride orderer.example.com --tls $CORE_PEER_TLS_ENABLED --cafile $ORDERER_CA -C $CHANNEL_NAME -n fabcar $PEER_CONN_PARMS --isInit -c '{"function":"initLedger","Args":[]}' >&log.txt peer chaincode invoke -o localhost:7050 --ordererTLSHostnameOverride orderer.example.com --tls $CORE_PEER_TLS_ENABLED --cafile $ORDERER_CA -C $CHANNEL_NAME -n fabcar $PEER_CONN_PARMS --isInit -c '{"function":"init","Args":[]}' >&log.txt
res=$? res=$?
set +x set +x
fi fi