Skip to content

Commit

Permalink
fix bug in etcd version check
Browse files Browse the repository at this point in the history
  • Loading branch information
skourta committed Nov 19, 2024
1 parent 9706b18 commit abf47fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ jobs:
expected_version="$(cat snap/snapcraft.yaml | yq .version)"
version="$(curl -L http://localhost:2379/version | yq -p=json .etcdserver)"
version="$(curl -L http://127.0.0.1:2379/version | yq -p=json .etcdserver)"
if [ "$expected_version" != "$version" ]; then
echo "Error: etcd Version is ${version}, expected {expected_version}"
echo "Error: etcd Version is ${version}, expected ${expected_version}"
exit 1
fi
Expand Down

0 comments on commit abf47fd

Please sign in to comment.