diff --git a/internal/gapicgen/generator/gapics.go b/internal/gapicgen/generator/gapics.go index 82ee9164f8d..85a4d7d4642 100644 --- a/internal/gapicgen/generator/gapics.go +++ b/internal/gapicgen/generator/gapics.go @@ -302,7 +302,7 @@ func (g *GapicGenerator) microgen(conf *microgenConfig) error { args = append(args, "--go_gapic_opt", fmt.Sprintf("release-level=%s", conf.releaseLevel)) } if conf.gRPCServiceConfigPath != "" { - args = append(args, "--go_gapic_opt", fmt.Sprintf("grpc-service-config=%s", filepath.Join(conf.inputDirectoryPath, conf.inputDirectoryPath, conf.gRPCServiceConfigPath))) + args = append(args, "--go_gapic_opt", fmt.Sprintf("grpc-service-config=%s", filepath.Join(conf.inputDirectoryPath, conf.gRPCServiceConfigPath))) } if !conf.disableMetadata { args = append(args, "--go_gapic_opt", "metadata")