From 7ba6131484b251bce90bd111b438e22a58beef75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Thu, 10 May 2018 13:27:48 +0200 Subject: [PATCH] (#19) Fix tests --- docker/docker.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/docker.go b/docker/docker.go index 3369304..0178eae 100644 --- a/docker/docker.go +++ b/docker/docker.go @@ -37,7 +37,9 @@ func CheckDockerContainerExists(image liferay.Image) bool { } for _, container := range containers { - if image.GetContainerName() == container.Names[0] { + containerName := "/" + image.GetContainerName() + + if containerName == container.Names[0] { return true } }