Skip to content

Commit 801c337

Browse files
authored
Merge pull request #697 from cheftako/comments
Fixed comment for connect() return.
2 parents 07d3565 + d667c22 commit 801c337

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/agent/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ func newAgentClient(address, agentID, agentIdentifiers string, cs *ClientSet, op
174174
return a, serverCount, nil
175175
}
176176

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

0 commit comments

Comments
 (0)