Skip to content

Commit

Permalink
fix : uninitialized variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Joonsoo Won committed Sep 24, 2024
1 parent c855919 commit c276dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/storage/grpc/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (f *Factory) Initialize(metricsFactory metrics.Factory, logger *zap.Logger)
},
}
newClientFn := func(opts ...grpc.DialOption) (conn *grpc.ClientConn, err error) {
var clientOpts []configgrpc.ToClientConnOption
clientOpts := make([]configgrpc.ToClientConnOption, 0)
for _, opt := range opts {
clientOpts = append(clientOpts, configgrpc.WithGrpcDialOption(opt))
}
Expand Down

0 comments on commit c276dea

Please sign in to comment.