Skip to content

Commit

Permalink
Merge pull request #697 from cheftako/comments
Browse files Browse the repository at this point in the history
Fixed comment for connect() return.
  • Loading branch information
k8s-ci-robot authored Jan 29, 2025
2 parents 07d3565 + d667c22 commit 801c337
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/agent/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ func newAgentClient(address, agentID, agentIdentifiers string, cs *ClientSet, op
return a, serverCount, nil
}

// Connect makes the grpc dial to the proxy server. It returns the serverID
// it connects to.
// Connect makes the grpc dial to the proxy server. It returns the count
// of the number of servers this agent should connected to.
func (a *Client) Connect() (int, error) {
conn, err := grpc.Dial(a.address, a.opts...)
if err != nil {
Expand Down

0 comments on commit 801c337

Please sign in to comment.