Skip to content

Commit 2950d9c

Browse files
committed
Fix lint
1 parent a5dd90f commit 2950d9c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pulsar/internal/rpc_client.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ type rpcClient struct {
9696

9797
func NewRPCClient(serviceURL *url.URL, pool ConnectionPool,
9898
requestTimeout time.Duration, logger log.Logger, metrics *Metrics,
99-
listenerName string, tlsConfig *TLSOptions, authProvider auth.Provider, lookupProperties []*pb.KeyValue) (RPCClient, error) {
99+
listenerName string, tlsConfig *TLSOptions, authProvider auth.Provider,
100+
lookupProperties []*pb.KeyValue) (RPCClient, error) {
100101
c := rpcClient{
101102
pool: pool,
102103
requestTimeout: requestTimeout,
@@ -262,7 +263,7 @@ func (c *rpcClient) NewLookupService(url *url.URL) (LookupService, error) {
262263
return NewHTTPLookupService(
263264
httpClient, url, serviceNameResolver, c.tlsConfig != nil, c.log, c.metrics), nil
264265
default:
265-
return nil, fmt.Errorf("Invalid URL scheme '%s'", url.Scheme)
266+
return nil, fmt.Errorf("invalid URL scheme '%s'", url.Scheme)
266267
}
267268
}
268269

0 commit comments

Comments
 (0)