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:
nikhil550 2020-09-15 09:35:38 -04:00 committed by GitHub
parent c2e6c9f46e
commit aaaf1ba59b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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