Skip to content

Commit

Permalink
[FAB-16052] Fix peerchaincode doc
Browse files Browse the repository at this point in the history
Doc had erroneous arguments

Change-Id: I9026f57bef4fe5db434af955b7826a4ea2f7ff1f
Signed-off-by: joe-alewine <[email protected]>
  • Loading branch information
joe-alewine authored and Joe Alewine committed Oct 11, 2019
1 parent 035b95a commit 0c9848a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/commands/peerchaincode.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ upgrades the chaincode named `mycc` at version `1.0` on channel
```
export ORDERER_CA=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
peer chaincode upgrade -o orderer.example.com:7050 --tls --cafile $ORDERER_CA -C mychannel -n mycc -v 1.2 -c '{"Args":["init","a","100","b","200","c","300"]}' -P "AND ('Org1MSP.peer','Org2MSP.peer')"
peer chaincode upgrade -o orderer.example.com:7050 --tls --cafile $ORDERER_CA -C mychannel -n mycc -v 1.2 -c '{"Args":["init","a","100","b","200"]}' -P "AND ('Org1MSP.peer','Org2MSP.peer')"
.
.
.
Expand All @@ -500,7 +500,7 @@ upgrades the chaincode named `mycc` at version `1.0` on channel
network with TLS disabled:
```
peer chaincode upgrade -o orderer.example.com:7050 -C mychannel -n mycc -v 1.2 -c '{"Args":["init","a","100","b","200","c","300"]}' -P "AND ('Org1MSP.peer','Org2MSP.peer')"
peer chaincode upgrade -o orderer.example.com:7050 -C mychannel -n mycc -v 1.2 -c '{"Args":["init","a","100","b","200"]}' -P "AND ('Org1MSP.peer','Org2MSP.peer')"
.
.
.
Expand Down

0 comments on commit 0c9848a

Please sign in to comment.