mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
[BUG] res=$? missing (#260)
Signed-off-by: tyanj <653291675@qq.com> Signed-off-by: Ry Jones <ry@linux.com> Co-authored-by: Ry Jones <ry@linux.com>
This commit is contained in:
parent
b9661a7ecc
commit
55c0b47952
1 changed files with 1 additions and 0 deletions
|
|
@ -192,6 +192,7 @@ approveForMyOrg() {
|
|||
setGlobals $ORG
|
||||
set -x
|
||||
peer lifecycle chaincode approveformyorg -o localhost:7050 --ordererTLSHostnameOverride orderer.example.com --tls --cafile $ORDERER_CA --channelID $CHANNEL_NAME --name ${CC_NAME} --version ${CC_VERSION} --package-id ${PACKAGE_ID} --sequence ${CC_SEQUENCE} ${INIT_REQUIRED} ${CC_END_POLICY} ${CC_COLL_CONFIG} >&log.txt
|
||||
res=$?
|
||||
set +x
|
||||
cat log.txt
|
||||
verifyResult $res "Chaincode definition approved on peer0.org${ORG} on channel '$CHANNEL_NAME' failed"
|
||||
|
|
|
|||
Loading…
Reference in a new issue