Skip to content

Commit

Permalink
fix wrong indentationin in the connection profile generated for Org 3 (
Browse files Browse the repository at this point in the history
…hyperledger#715)

Signed-off-by: Basil K Y <[email protected]>
  • Loading branch information
basilky authored Apr 18, 2022
1 parent f8df545 commit fdcf07d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test-network/addOrg3/ccp-generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function yaml_ccp {
-e "s/\${CAPORT}/$3/" \
-e "s#\${PEERPEM}#$PP#" \
-e "s#\${CAPEM}#$CP#" \
ccp-template.yaml | sed -e $'s/\\\\n/\\\n /g'
ccp-template.yaml | sed -e $'s/\\\\n/\\\n /g'
}

ORG=3
Expand Down
7 changes: 4 additions & 3 deletions test-network/addOrg3/ccp-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ peers:
url: grpcs://localhost:${P0PORT}
tlsCACerts:
pem: |
${PEERPEM}
${PEERPEM}
grpcOptions:
ssl-target-name-override: peer0.org${ORG}.example.com
hostnameOverride: peer0.org${ORG}.example.com
Expand All @@ -28,7 +28,8 @@ certificateAuthorities:
url: https://localhost:${CAPORT}
caName: ca-org${ORG}
tlsCACerts:
pem: |
${CAPEM}
pem:
- |
${CAPEM}
httpOptions:
verify: false

0 comments on commit fdcf07d

Please sign in to comment.