Skip to content

Commit

Permalink
chore: add release level for datastore (#10719)
Browse files Browse the repository at this point in the history
Follow-up fix for post-processor error from: #10708

Also fix go.mod version for new clients.

Fixes: #10715
  • Loading branch information
codyoss authored Aug 21, 2024
1 parent 214af16 commit 90902ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions internal/gapicgen/generator/genproto_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ func TestFilterPackages(t *testing.T) {
"google.golang.org/genproto/do/not/generate/me": {"foo.proto"},
}
want := map[string][]string{
"google.golang.org/genproto/googleapis/api/distribution": {"foo.proto"},
"google.golang.org/genproto/googleapis/type/date_range": {"foo.proto"},
"google.golang.org/genproto/googleapis/bigtable/admin/v2": {"foo.proto"},
"google.golang.org/genproto/googleapis/api/distribution": {"foo.proto"},
"google.golang.org/genproto/googleapis/type/date_range": {"foo.proto"},
}
out, err := filterPackages(in)
if err != nil {
Expand Down
1 change: 1 addition & 0 deletions internal/postprocessor/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1047,6 +1047,7 @@ service-configs:
- input-directory: google/datastore/v1
service-config: datastore_v1.yaml
import-path: cloud.google.com/go/datastore/apiv1
release-level-override: stable
- input-directory: google/devtools/artifactregistry/v1
service-config: artifactregistry_v1.yaml
import-path: cloud.google.com/go/artifactregistry/apiv1
Expand Down
2 changes: 1 addition & 1 deletion internal/postprocessor/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const (
// This is the default Go version that will be generated into new go.mod
// files. It should be updated every time we drop support for old Go
// versions.
defaultGoModuleVersion = "1.19"
defaultGoModuleVersion = "1.21"
)

var (
Expand Down

0 comments on commit 90902ff

Please sign in to comment.