Skip to content

Commit 998498f

Browse files
committed
fix(Makefile): fix 'check-fleet' rule for $FLEETCTL_TUNNEL with port.
1 parent 9818cb4 commit 998498f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ build:
4747

4848
check-fleet:
4949
@LOCAL_VERSION=`fleetctl -version`; \
50-
REMOTE_VERSION=`ssh -o StrictHostKeyChecking=no core@$(FLEETCTL_TUNNEL) fleetctl -version`; \
50+
REMOTE_VERSION=`ssh -o StrictHostKeyChecking=no core@$(subst :, -p ,$(FLEETCTL_TUNNEL)) fleetctl -version`; \
5151
if [ "$$LOCAL_VERSION" != "$$REMOTE_VERSION" ]; then \
5252
echo "Your fleetctl client version should match the server. Local version: $$LOCAL_VERSION, server version: $$REMOTE_VERSION. Uninstall your local version and install the latest build from https://github.com/coreos/fleet/releases"; exit 1; \
5353
fi

0 commit comments

Comments
 (0)