We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21eea1e commit b8cddc6Copy full SHA for b8cddc6
1 file changed
cli/command/completion/functions.go
@@ -59,7 +59,7 @@ func ContainerNames(dockerCLI APIClientProvider, all bool, filters ...func(conta
59
for _, ctr := range list {
60
skip := false
61
for _, fn := range filters {
62
- if !fn(ctr) {
+ if fn != nil && !fn(ctr) {
63
skip = true
64
break
65
}
0 commit comments