mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-21 17:15:10 +00:00
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:
parent
f8df5452d8
commit
fdcf07dc25
2 changed files with 5 additions and 4 deletions
|
|
@ -23,7 +23,7 @@ function yaml_ccp {
|
||||||
-e "s/\${CAPORT}/$3/" \
|
-e "s/\${CAPORT}/$3/" \
|
||||||
-e "s#\${PEERPEM}#$PP#" \
|
-e "s#\${PEERPEM}#$PP#" \
|
||||||
-e "s#\${CAPEM}#$CP#" \
|
-e "s#\${CAPEM}#$CP#" \
|
||||||
ccp-template.yaml | sed -e $'s/\\\\n/\\\n /g'
|
ccp-template.yaml | sed -e $'s/\\\\n/\\\n /g'
|
||||||
}
|
}
|
||||||
|
|
||||||
ORG=3
|
ORG=3
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ peers:
|
||||||
url: grpcs://localhost:${P0PORT}
|
url: grpcs://localhost:${P0PORT}
|
||||||
tlsCACerts:
|
tlsCACerts:
|
||||||
pem: |
|
pem: |
|
||||||
${PEERPEM}
|
${PEERPEM}
|
||||||
grpcOptions:
|
grpcOptions:
|
||||||
ssl-target-name-override: peer0.org${ORG}.example.com
|
ssl-target-name-override: peer0.org${ORG}.example.com
|
||||||
hostnameOverride: peer0.org${ORG}.example.com
|
hostnameOverride: peer0.org${ORG}.example.com
|
||||||
|
|
@ -28,7 +28,8 @@ certificateAuthorities:
|
||||||
url: https://localhost:${CAPORT}
|
url: https://localhost:${CAPORT}
|
||||||
caName: ca-org${ORG}
|
caName: ca-org${ORG}
|
||||||
tlsCACerts:
|
tlsCACerts:
|
||||||
pem: |
|
pem:
|
||||||
${CAPEM}
|
- |
|
||||||
|
${CAPEM}
|
||||||
httpOptions:
|
httpOptions:
|
||||||
verify: false
|
verify: false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue