mirror of
https://github.com/docker/compose.git
synced 2026-08-04 06:38:45 +00:00
don't exit with err=1 when no container listed
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
19682173d7
commit
e1267cddfd
1 changed files with 0 additions and 4 deletions
|
|
@ -124,10 +124,6 @@ SERVICES:
|
|||
return fmt.Errorf("no such service: %s", s)
|
||||
}
|
||||
|
||||
if len(containers) == 0 {
|
||||
return api.ErrNotFound
|
||||
}
|
||||
|
||||
if opts.Status != "" {
|
||||
containers = filterByStatus(containers, opts.Status)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue