Skip to content

Commit dd94d0c

Browse files
authored
Update setup-integration-tests.sh
1 parent 7ff9c70 commit dd94d0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integration/setup-integration-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if [ "$(id -gn)" != "$GROUP" ]; then
2020
fi
2121

2222
# Get preferred source IP address for metallb
23-
IPADDR=$( { ip -4 -j route get 2.2.2.2; jq -r '.[] | .prefsrc'; } )
23+
IPADDR=$( { ip -4 -j route get 2.2.2.2 | jq -r '.[] | .prefsrc'; } )
2424
sudo microk8s enable "metallb:$IPADDR-$IPADDR" "hostpath-storage"
2525
microk8s status --wait-ready
2626

0 commit comments

Comments
 (0)