fix: add missing {{end}} to docker format template
This commit is contained in:
1 parent
41b971e067
commit
4a9bdd6dc2
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user