diff --git a/sink-server/docker/docker.go b/sink-server/docker/docker.go index 859f307c8..4ee6290e9 100644 --- a/sink-server/docker/docker.go +++ b/sink-server/docker/docker.go @@ -253,7 +253,7 @@ func (e *DockerEngine) Info(ctx context.Context, deploymentID string, zlog *zap. } var outputs []*dockerComposePSOutput - if err != nil { + if err := json.Unmarshal(line, &outputs); err != nil { return nil, fmt.Errorf("unmarshalling docker output: %w", err) }