From 4a9bdd6dc278ad7b1e589a2a4ba80a94fbd7971a Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 7 Nov 2022 10:07:48 -0500 Subject: [PATCH] fix: add missing {{end}} to docker format template --- plugins/common/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/common/functions b/plugins/common/functions index 232a31c27..1261774a6 100755 --- a/plugins/common/functions +++ b/plugins/common/functions @@ -402,7 +402,7 @@ get_docker_version() { fn-is-compose-installed() { declare desc="check if the compose docker plugin is installed" local COMPOSE_INSTALLED - COMPOSE_INSTALLED="$(docker info -f '{{range .ClientInfo.Plugins}}{{if eq .Name "compose"}}true{{end}}')" + COMPOSE_INSTALLED="$(docker info -f '{{range .ClientInfo.Plugins}}{{if eq .Name "compose"}}true{{end}}{{end}}')" if [[ "$COMPOSE_INSTALLED" == "true" ]]; then return 0