sharness: Fix test typo causing an empty grep

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
This commit is contained in:
Hector Sanjuan 2019-01-11 16:26:05 +01:00
parent d80f3ee05d
commit 2783186d1f

View File

@ -21,7 +21,7 @@ test_expect_success IPFS,CLUSTER "health metrics without metric name fails" '
'
test_expect_success IPFS,CLUSTER "list latest metrics logged by this peer" '
pid=`docker exec ipfs sh -c "ipfs id | jq .ID"`
pid=`docker exec ipfs sh -c "ipfs id"` | jq ".ID"
ipfs-cluster-ctl health metrics freespace | grep -q "$pid: [0-9]* | Expire: .*T.*Z"
'