Skip to content

Commit 4a8c1d2

Browse files
committed
runtime: Track sub-session costs
Fixes #90 Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
1 parent 35cc687 commit 4a8c1d2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/runtime/runtime.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,7 @@ func (r *Runtime) handleTaskTransfer(ctx context.Context, sess *session.Session,
725725
}
726726

727727
sess.ToolsApproved = s.ToolsApproved
728+
sess.Cost += s.Cost
728729

729730
sess.AddSubSession(s)
730731

0 commit comments

Comments
 (0)