Skip to content

Commit 4a7e7b7

Browse files
committed
Merge pull request #930 from jperville/fleetctl-version-check-with-port
fix(Makefile): fix 'check-fleet' rule for $FLEETCTL_TUNNEL with explicit port.
2 parents 18603e3 + 998498f commit 4a7e7b7

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)