Skip to content

Commit

Permalink
Fix: List container with volume filter
Browse files Browse the repository at this point in the history
Modify the condition in line 149 in order to list container by mounting
point.

[NO NEW TESTS NEEDED]
Closes containers#16019

Signed-off-by: SamirPS <akariohsamir@yahoo.com>
  • Loading branch information
SamirPS committed Dec 23, 2022
1 parent e000f85 commit 4bab7bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/domain/filters/containers.go
Expand Up @@ -146,7 +146,7 @@ func GenerateContainerFilterFuncs(filter string, filterValues []string, r *libpo
if dest != "" && (mount.Source == source && mount.Destination == dest) {
return true
}
if dest == "" && mount.Source == source {
if dest == "" && mount.Destination == source {
return true
}
}
Expand Down

0 comments on commit 4bab7bc

Please sign in to comment.