Skip to content

chore: remove agentsdk client RPC() function #11913

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

spikecurtis
Copy link
Contributor

@spikecurtis spikecurtis commented Jan 30, 2024

The RPC() function isn't called, since Listen() was modified to do this job.

Listen() has the right signature, since it returns a drpc.Conn, rather than the Agent API. That's because tailnet v2 and agent v2 are separate APIs served over the same connection.

It might be clearer to rename Listen() to RPC() but I'll save that for a different PR.

Copy link
Contributor Author

spikecurtis commented Jan 30, 2024

Copy link
Contributor Author

spikecurtis commented Feb 1, 2024

Merge activity

  • Jan 31, 11:21 PM EST America/New_York: @spikecurtis started a stack merge that includes this pull request via Graphite.
  • Jan 31, 11:22 PM EST America/New_York: @spikecurtis merged this pull request with Graphite.

@spikecurtis spikecurtis merged commit cc0dc10 into main Feb 1, 2024
@spikecurtis spikecurtis deleted the spike/10534-remove-rpc-method branch February 1, 2024 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants