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:
Nicolas De Loof 2021-09-01 14:26:39 +02:00
parent 19682173d7
commit e1267cddfd
1 changed files with 0 additions and 4 deletions

View File

@ -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)
}