Ps return ContainerSummary, not Services

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2020-12-07 14:46:36 +01:00
parent 15040f8473
commit 1d859dc807
No known key found for this signature in database
GPG key ID: 9858809D6F8F6E7E
16 changed files with 192 additions and 67 deletions

View file

@ -169,7 +169,7 @@ func (cs *composeService) Down(ctx context.Context, project string) error {
return nil
}
func (cs *composeService) Ps(ctx context.Context, project string) ([]compose.ServiceStatus, error) {
func (cs *composeService) Ps(ctx context.Context, projectName string) ([]compose.ContainerSummary, error) {
return nil, errdefs.ErrNotImplemented
}
func (cs *composeService) List(ctx context.Context, project string) ([]compose.Stack, error) {