fix wrong indentationin in the connection profile generated for Org 3

Signed-off-by: Basil K Y <techiebasil@gmail.com>
This commit is contained in:
Basil K Y 2022-04-14 18:44:21 +05:30
parent 5414889399
commit 2de353a57b
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