From abfd8a00d6d0fab568bd7ef5db2701dbdc6b0749 Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Fri, 8 Jul 2022 09:58:03 +0200 Subject: [PATCH] Fix parsing "ipfs-cluster-ctl peers ls" output --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba05ffc69..d5cccde93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,7 +108,7 @@ jobs: --host "${CLUSTER_HOST}" \ --basic-auth "$CLUSTER_USER:$CLUSTER_PASSWORD" \ peers ls > cluster-peers-ls - for maddr in $(jq -r '.[].ipfs.addresses[]?' cluster-peers-ls); do + for maddr in $(jq -r '.ipfs.addresses[]?' cluster-peers-ls); do ipfs swarm peering add "$maddr" & ipfs swarm connect "$maddr" & done