fix wrong indentationin in the connection profile generated for Org 3 (#715)

Signed-off-by: Basil K Y <techiebasil@gmail.com>
This commit is contained in:
Basil K Y 2022-04-18 16:08:48 +05:30 committed by GitHub
parent f8df5452d8
commit fdcf07dc25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View file

@ -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

View file

@ -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
@ -28,7 +28,8 @@ certificateAuthorities:
url: https://localhost:${CAPORT}
caName: ca-org${ORG}
tlsCACerts:
pem: |
${CAPEM}
pem:
- |
${CAPEM}
httpOptions:
verify: false