Skip to content

Commit

Permalink
correct cli option
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
  • Loading branch information
mbwhite authored and jt-nti committed Mar 18, 2021
1 parent c62883f commit c1ec01f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/fv/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const getTLSArgs = () => {
};
const getPeerAddresses = () => {
if (tls) {
return '--peerAddresses peer0.org1.example.com:7051 --tlsRootCertFile ' + org1CA +
' --peerAddresses peer0.org2.example.com:8051 --tlsRootCertFile ' + org2CA;
return '--peerAddresses peer0.org1.example.com:7051 --tlsRootCertFiles ' + org1CA +
' --peerAddresses peer0.org2.example.com:8051 --tlsRootCertFiles ' + org2CA;
} else {
return '--peerAddresses peer0.org1.example.com:7051' +
' --peerAddresses peer0.org2.example.com:8051';
Expand Down
4 changes: 2 additions & 2 deletions tools/toolchain/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ exports.getTLSArgs = () => {

exports.getPeerAddresses = () => {
if (tls) {
return '--peerAddresses peer0.org1.example.com:7051 --tlsRootCertFile ' + org1CA +
' --peerAddresses peer0.org2.example.com:8051 --tlsRootCertFile ' + org2CA;
return '--peerAddresses peer0.org1.example.com:7051 --tlsRootCertFiles ' + org1CA +
' --peerAddresses peer0.org2.example.com:8051 --tlsRootCertFiles ' + org2CA;
} else {
return '--peerAddresses peer0.org1.example.com:7051' +
' --peerAddresses peer0.org2.example.com:8051';
Expand Down

0 comments on commit c1ec01f

Please sign in to comment.