mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-18 07:55:10 +00:00
Replace waiting period (#331)
Signed-off-by: NIKHIL E GUPTA <negupta@us.ibm.com> Co-authored-by: NIKHIL E GUPTA <negupta@us.ibm.com>
This commit is contained in:
parent
c2e6c9f46e
commit
aaaf1ba59b
1 changed files with 8 additions and 1 deletions
|
|
@ -236,7 +236,14 @@ function createOrgs() {
|
|||
|
||||
. organizations/fabric-ca/registerEnroll.sh
|
||||
|
||||
sleep 10
|
||||
while :
|
||||
do
|
||||
if [ ! -f "organizations/fabric-ca/org1/tls-cert.pem" ]; then
|
||||
sleep 1
|
||||
else
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
infoln "Create Org1 Identities"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue