From 828e4605a4d330f4cbf8604b7ee4625d8f6ae8a5 Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Tue, 9 Aug 2022 22:52:58 +0200 Subject: [PATCH] fix(ci): parsing "ipfs-cluster-ctl peers ls" output (#1966) --- .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