fixed test-network-k8s/scripts/test_network.sh missing ${NGINX_HTTPS_PORT}

fixed test-network-k8s/scripts/channel.sh missing ${NGINX_HTTPS_PORT}
This commit is contained in:
wisecoach 2023-04-15 15:32:03 +08:00 committed by Ry Jones
parent 7c42ff3d8e
commit 2fb422e6f8
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ function register_org_admin() {
--id.name ${id_name} \ --id.name ${id_name} \
--id.secret ${id_secret} \ --id.secret ${id_secret} \
--id.type ${type} \ --id.type ${type} \
--url https://${ca_name}.${DOMAIN} \ --url https://${ca_name}.${DOMAIN}:${NGINX_HTTPS_PORT} \
--tls.certfiles $TEMP_DIR/cas/${ca_name}/tlsca-cert.pem \ --tls.certfiles $TEMP_DIR/cas/${ca_name}/tlsca-cert.pem \
--mspdir $TEMP_DIR/enrollments/${org}/users/${RCAADMIN_USER}/msp \ --mspdir $TEMP_DIR/enrollments/${org}/users/${RCAADMIN_USER}/msp \
--id.attrs "hf.Registrar.Roles=client,hf.Registrar.Attributes=*,hf.Revoker=true,hf.GenCRL=true,admin=true:ecert,abac.init=true:ecert" --id.attrs "hf.Registrar.Roles=client,hf.Registrar.Attributes=*,hf.Revoker=true,hf.GenCRL=true,admin=true:ecert,abac.init=true:ecert"

View file

@ -52,7 +52,7 @@ function create_node_local_MSP() {
--id.name ${id_name} \ --id.name ${id_name} \
--id.secret ${id_secret} \ --id.secret ${id_secret} \
--id.type ${node_type} \ --id.type ${node_type} \
--url https://${ca_name}.${DOMAIN} \ --url https://${ca_name}.${DOMAIN}:${NGINX_HTTPS_PORT} \
--tls.certfiles $TEMP_DIR/cas/${ca_name}/tlsca-cert.pem \ --tls.certfiles $TEMP_DIR/cas/${ca_name}/tlsca-cert.pem \
--mspdir $TEMP_DIR/enrollments/${org}/users/${RCAADMIN_USER}/msp \ --mspdir $TEMP_DIR/enrollments/${org}/users/${RCAADMIN_USER}/msp \
|| rc=$? # trap error code from registration without exiting the network driver script" || rc=$? # trap error code from registration without exiting the network driver script"