(ctx context.Context, id uuid.UUID)
| 276 | } |
| 277 | |
| 278 | func (a *subAgentAPIClient) Delete(ctx context.Context, id uuid.UUID) error { |
| 279 | a.logger.Debug(ctx, "deleting sub agent", slog.F("id", id.String())) |
| 280 | _, err := a.api.DeleteSubAgent(ctx, &agentproto.DeleteSubAgentRequest{ |
| 281 | Id: id[:], |
| 282 | }) |
| 283 | return err |
| 284 | } |
| 285 | |
| 286 | // noopSubAgentClient is a SubAgentClient that does nothing. |
| 287 | type noopSubAgentClient struct{} |
nothing calls this directly
no test coverage detected