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

This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2022-11-07 10:07:48 -05:00
1 parent 41b971e067
commit 4a9bdd6dc2
1 file changed
+1 -1
+1 -1
View File
@@ -402,7 +402,7 @@ get_docker_version() {
fn-is-compose-installed() { fn-is-compose-installed() {
declare desc="check if the compose docker plugin is installed" declare desc="check if the compose docker plugin is installed"
local COMPOSE_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 if [[ "$COMPOSE_INSTALLED" == "true" ]]; then
return 0 return 0