store only computed values in compute layer

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-04-07 18:41:44 -07:00
parent 5381d0bfe1
commit e54f1b0c3a
7 changed files with 80 additions and 94 deletions

View File

@@ -90,7 +90,7 @@ func (c *Client) Do(ctx context.Context, state *DeploymentState, fn ClientDoFunc
eg.Go(func() error {
defer outr.Close()
result, err = DeploymentResultFromTar(gctx, outr)
result, err = ReadDeploymentResult(gctx, outr)
return err
})