diff --git a/pkg/generic/thriftidl_provider.go b/pkg/generic/thriftidl_provider.go index 61404666b7..fc89e333ba 100644 --- a/pkg/generic/thriftidl_provider.go +++ b/pkg/generic/thriftidl_provider.go @@ -90,7 +90,7 @@ func NewThriftFileProviderWithDynamicgoWithOption(path string, opts []ThriftIDLP return nil, err } handleGoTagForDynamicGo(tOpts.goTag) - dOpts := dthrift.Options{EnableThriftBase: true, ParseServiceMode: dParseMode, UseDefaultValue: true, SetOptionalBitmap: true, ApiBodyFastPath: true, ServiceName: tOpts.serviceName} + dOpts := dthrift.Options{EnableThriftBase: true, ParseServiceMode: dParseMode, UseDefaultValue: true, SetOptionalBitmap: true, ServiceName: tOpts.serviceName} dsvc, err := dOpts.NewDescritorFromPath(context.Background(), path, includeDirs...) if err != nil { // fall back to the original way (without dynamicgo) @@ -498,7 +498,7 @@ func newDynamicGoDscFromContent(svc *descriptor.ServiceDescriptor, path, content if err != nil { return err } - dOpts := dthrift.Options{EnableThriftBase: true, ParseServiceMode: dParseMode, UseDefaultValue: true, SetOptionalBitmap: true, ApiBodyFastPath: true, ServiceName: serviceName} + dOpts := dthrift.Options{EnableThriftBase: true, ParseServiceMode: dParseMode, UseDefaultValue: true, SetOptionalBitmap: true, ServiceName: serviceName} dsvc, err := dOpts.NewDescritorFromContent(context.Background(), path, content, includes, isAbsIncludePath) if err != nil { klog.CtxWarnf(context.Background(), "KITEX: failed to get dynamicgo service descriptor, fall back to the original way, error=%s", err)