chore: rename client Listen to ConnectRPC (#11916)

ConnectRPC seems more appropriate for this function
This commit is contained in:
Spike Curtis
2024-02-01 14:44:11 +04:00
committed by GitHub
parent 1031ccb3c9
commit 1aa117b9ec
6 changed files with 16 additions and 17 deletions
+1 -1
View File
@@ -398,7 +398,7 @@ func createWorkspaceWithApps(t *testing.T, client *codersdk.Client, orgID uuid.U
primaryAppHost, err := client.AppHost(appHostCtx)
require.NoError(t, err)
if primaryAppHost.Host != "" {
rpcConn, err := agentClient.Listen(appHostCtx)
rpcConn, err := agentClient.ConnectRPC(appHostCtx)
require.NoError(t, err)
aAPI := agentproto.NewDRPCAgentClient(rpcConn)
manifest, err := aAPI.GetManifest(appHostCtx, &agentproto.GetManifestRequest{})