Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkJoyMa authored and kevwan committed Jul 7, 2024
1 parent 04135ec commit b820475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zrpc/internal/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (c *client) buildUnaryInterceptors(timeout time.Duration) []grpc.UnaryClien
if c.middlewares.Timeout {
interceptors = append(interceptors, clientinterceptors.TimeoutInterceptor(timeout))
}
if !c.middlewares.CustomKey {
if c.middlewares.CustomKey {
interceptors = append(interceptors, clientinterceptors.UnaryCustomKeysInterceptor)

Check warning on line 124 in zrpc/internal/client.go

View check run for this annotation

Codecov / codecov/patch

zrpc/internal/client.go#L124

Added line #L124 was not covered by tests
}

Expand Down

0 comments on commit b820475

Please sign in to comment.