Skip to content

Commit

Permalink
Do not compare com.symfony.server.service-ignore case-sensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Jan 25, 2022
1 parent 64d8485 commit aaab6b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion envs/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func (l *Local) dockerServiceToRelationship(client *docker.Client, container typ
fmt.Fprintf(os.Stderr, `found Docker container "%s" for project "%s" (image "%s")`+"\n", container.Labels["com.docker.compose.service"], container.Labels["com.docker.compose.project"], container.Image)
}

if v, ok := container.Labels["com.symfony.server.service-ignore"]; ok && v == "True" {
if v, _ := strconv.ParseBool(container.Labels["com.symfony.server.service-ignore"]); v {
if l.Debug {
fmt.Fprintln(os.Stderr, " skipping as com.symfony.server.service-ignore is true")
}
Expand Down

0 comments on commit aaab6b0

Please sign in to comment.