From 722f1a5f4afc10d4cda47fe54e691844c28966ce Mon Sep 17 00:00:00 2001 From: Marcus Brandenburger Date: Tue, 23 Jul 2024 16:34:40 +0200 Subject: [PATCH] Fix update_connection.sh Signed-off-by: Marcus Brandenburger --- samples/deployment/test-network/update-connection.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/samples/deployment/test-network/update-connection.sh b/samples/deployment/test-network/update-connection.sh index 742641a4e..f2f37c57c 100755 --- a/samples/deployment/test-network/update-connection.sh +++ b/samples/deployment/test-network/update-connection.sh @@ -51,9 +51,9 @@ for org in "${orgs[@]}"; do yq ".organizations.${org^}.users.${user}.cert.path = \"${CERTS[0]}\"" -i "${CONNECTIONS_PATH}" yq ".organizations.${org^}.users.${user}.key.path = \"${KEYS[0]}\"" -i "${CONNECTIONS_PATH}" - # add channels and entity matcher - yq eval-all 'select(fileIndex == 0) * select(fileIndex == 1)' -i ${CONNECTIONS_PATH} < "${temp_yaml}" <> "${tmp_dir}/peers-${org}.yaml" done