Skip to content

Commit

Permalink
fix the use of deprecated messages (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazegusuri authored Mar 5, 2023
1 parent 0171ab7 commit b4a77e3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ require (
github.com/hashicorp/go-multierror v1.1.1
github.com/spf13/cobra v1.2.1
google.golang.org/api v0.111.0
google.golang.org/genproto v0.0.0-20230303212802-e74f57abe488
google.golang.org/grpc v1.53.0
)

Expand Down Expand Up @@ -39,5 +38,6 @@ require (
golang.org/x/text v0.7.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230303212802-e74f57abe488 // indirect
google.golang.org/protobuf v1.28.1 // indirect
)
2 changes: 1 addition & 1 deletion pkg/spanner/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"fmt"

instancev1 "cloud.google.com/go/spanner/admin/instance/apiv1"
instancepb "cloud.google.com/go/spanner/admin/instance/apiv1/instancepb"
"google.golang.org/api/option"
instancepb "google.golang.org/genproto/googleapis/spanner/admin/instance/v1"
)

type AdminClient struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/spanner/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ import (

"cloud.google.com/go/spanner"
databasev1 "cloud.google.com/go/spanner/admin/database/apiv1"
databasepb "cloud.google.com/go/spanner/admin/database/apiv1/databasepb"
sppb "cloud.google.com/go/spanner/apiv1/spannerpb"
"github.com/hashicorp/go-multierror"
"google.golang.org/api/iterator"
"google.golang.org/api/option"
databasepb "google.golang.org/genproto/googleapis/spanner/admin/database/v1"
sppb "google.golang.org/genproto/googleapis/spanner/v1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/spanner/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ import (
"testing"

"cloud.google.com/go/spanner"
sppb "cloud.google.com/go/spanner/apiv1/spannerpb"
"github.com/google/uuid"
"google.golang.org/api/iterator"
sppb "google.golang.org/genproto/googleapis/spanner/v1"
)

const (
Expand Down

0 comments on commit b4a77e3

Please sign in to comment.