Skip to content

Commit 85c55d6

Browse files
author
Ariel Kass
committed
another attempt to reresolve linter issues #2
Signed-off-by: Ariel Kass <[email protected]>
1 parent 5be9c1e commit 85c55d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/client/client.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ func connect(address string, timeout time.Duration) (*grpc.ClientConn, error) {
4343
// New creates and returns the GRPC client.
4444
func New(address string, timeout time.Duration) (*Client, error) {
4545
client := &Client{}
46-
connection, err := connect(address, timeout)
46+
conn, err := connect(address, timeout)
4747
if err != nil {
4848
return client, err
4949
}
50-
c.Client = connection
51-
c.Timeout = timeout
50+
client.Client = conn
51+
client.Timeout = timeout
5252

5353
return c, nil
5454
}

0 commit comments

Comments
 (0)