fix: add missing {{end}} to docker format template

This commit is contained in:
Jose Diaz-Gonzalez
2022-11-07 10:07:48 -05:00
committed by GitHub
parent 41b971e067
commit 4a9bdd6dc2

View File

@@ -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