introduce --filter option on compose ls

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2021-01-21 18:45:13 +01:00
parent 9e1ec76da8
commit f33eff5903
No known key found for this signature in database
GPG key ID: 9858809D6F8F6E7E
12 changed files with 48 additions and 30 deletions

View file

@ -77,7 +77,7 @@ func (p *proxy) Services(ctx context.Context, request *composev1.ComposeServices
}
func (p *proxy) Stacks(ctx context.Context, request *composev1.ComposeStacksRequest) (*composev1.ComposeStacksResponse, error) {
stacks, err := Client(ctx).ComposeService().List(ctx, request.ProjectName)
stacks, err := Client(ctx).ComposeService().List(ctx)
if err != nil {
return nil, err
}