Skip to content

Commit

Permalink
(#19) Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya authored and Manuel de la Peña committed Aug 3, 2018
1 parent fdc3508 commit 7ba6131
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit 7ba6131

Please sign in to comment.