( ctx context.Context, id toolspkg.ToolID, scope toolspkg.Scope, taskID string, runID string, )
| 4470 | } |
| 4471 | |
| 4472 | func (n *daemonNativeTools) nativeTaskClearActor( |
| 4473 | ctx context.Context, |
| 4474 | id toolspkg.ToolID, |
| 4475 | scope toolspkg.Scope, |
| 4476 | taskID string, |
| 4477 | runID string, |
| 4478 | ) (taskpkg.ActorContext, error) { |
| 4479 | if strings.TrimSpace(scope.SessionID) == "" || scope.Operator { |
| 4480 | return nativeOperatorActorContext(scope) |
| 4481 | } |
| 4482 | actor, _, err := n.nativeTaskLeaseActor(ctx, id, scope, taskID, runID) |
| 4483 | return actor, err |
| 4484 | } |
| 4485 | |
| 4486 | func (n *daemonNativeTools) nativeTaskLeaseActor( |
| 4487 | ctx context.Context, |
no test coverage detected