Skip to content

Commit

Permalink
Update generic_client.go (#19)
Browse files Browse the repository at this point in the history
add IncludePath param for PB IDL type
  • Loading branch information
xuanskyer authored Dec 7, 2024
1 parent 961589b commit 0ec147c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/generic_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func NewPbGeneric() *PbGeneric {
func (c *PbGeneric) Init(Conf *config.Config) error {
// Waiting for server reflection
dOpts := dproto.Options{}
p, err := generic.NewPbFileProviderWithDynamicGo(Conf.IDLPath, context.Background(), dOpts)
p, err := generic.NewPbFileProviderWithDynamicGo(Conf.IDLPath, context.Background(), dOpts, Conf.IncludePath...)
if err != nil {
return err
}
Expand Down

0 comments on commit 0ec147c

Please sign in to comment.