Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kubemq committed Feb 1, 2021
1 parent e6ac90e commit db2ae9c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sources/command/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (c *Client) Init(ctx context.Context, cfg config.Spec) error {
}
client, err := kubemq.NewClient(ctx,
kubemq.WithAddress(c.opts.host, c.opts.port),
kubemq.WithClientId(c.opts.clientId),
kubemq.WithClientId(clientId),
kubemq.WithTransportType(kubemq.TransportTypeGRPC),
kubemq.WithCheckConnection(true),
kubemq.WithAuthToken(c.opts.authToken),
Expand Down
2 changes: 1 addition & 1 deletion sources/events-store/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (c *Client) Init(ctx context.Context, cfg config.Spec) error {
}
client, err := kubemq.NewClient(ctx,
kubemq.WithAddress(c.opts.host, c.opts.port),
kubemq.WithClientId(c.opts.clientId),
kubemq.WithClientId(clientId),
kubemq.WithTransportType(kubemq.TransportTypeGRPC),
kubemq.WithCheckConnection(true),
kubemq.WithAuthToken(c.opts.authToken),
Expand Down
2 changes: 1 addition & 1 deletion sources/events/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (c *Client) Init(ctx context.Context, cfg config.Spec) error {
}
client, err := kubemq.NewClient(ctx,
kubemq.WithAddress(c.opts.host, c.opts.port),
kubemq.WithClientId(c.opts.clientId),
kubemq.WithClientId(clientId),
kubemq.WithTransportType(kubemq.TransportTypeGRPC),
kubemq.WithCheckConnection(true),
kubemq.WithAuthToken(c.opts.authToken),
Expand Down
2 changes: 1 addition & 1 deletion sources/query/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (c *Client) Init(ctx context.Context, cfg config.Spec) error {
}
client, err := kubemq.NewClient(ctx,
kubemq.WithAddress(c.opts.host, c.opts.port),
kubemq.WithClientId(c.opts.clientId),
kubemq.WithClientId(clientId),
kubemq.WithTransportType(kubemq.TransportTypeGRPC),
kubemq.WithCheckConnection(true),
kubemq.WithAuthToken(c.opts.authToken),
Expand Down

0 comments on commit db2ae9c

Please sign in to comment.