Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
Update internal/docker/docker.go
Browse files Browse the repository at this point in the history
Co-authored-by: Manuel de la Peña <[email protected]>
  • Loading branch information
adam-stokes and mdelapenya authored May 5, 2021
1 parent 2e38d6a commit abf3f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func InspectContainer(name string) (*types.ContainerJSON, error) {
ctx := context.Background()

labelFilters := filters.NewArgs()
labelFilters.Add("label", "com.docker.compose.service="+name)
labelFilters.Add("name", name)

containers, err := dockerClient.ContainerList(context.Background(), types.ContainerListOptions{All: true, Filters: labelFilters})
if err != nil {
Expand Down

0 comments on commit abf3f1a

Please sign in to comment.