Skip to content

Commit

Permalink
fix(pubsub): Use fieldmask directly instead of field_mask genproto al…
Browse files Browse the repository at this point in the history
  • Loading branch information
quartzmo authored Jun 6, 2023
1 parent cae6cd6 commit 087a5fc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pubsub/pstest/fake_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ import (

"cloud.google.com/go/internal/testutil"
pb "cloud.google.com/go/pubsub/apiv1/pubsubpb"
"google.golang.org/genproto/protobuf/field_mask"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
"google.golang.org/protobuf/types/known/durationpb"
field_mask "google.golang.org/protobuf/types/known/fieldmaskpb"
"google.golang.org/protobuf/types/known/timestamppb"
)

Expand Down
2 changes: 1 addition & 1 deletion pubsub/snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"time"

pb "cloud.google.com/go/pubsub/apiv1/pubsubpb"
fmpb "google.golang.org/genproto/protobuf/field_mask"
fmpb "google.golang.org/protobuf/types/known/fieldmaskpb"
"google.golang.org/protobuf/types/known/timestamppb"
)

Expand Down
2 changes: 1 addition & 1 deletion pubsub/subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ import (
"cloud.google.com/go/pubsub/internal/scheduler"
gax "github.com/googleapis/gax-go/v2"
"golang.org/x/sync/errgroup"
fmpb "google.golang.org/genproto/protobuf/field_mask"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
durpb "google.golang.org/protobuf/types/known/durationpb"
fmpb "google.golang.org/protobuf/types/known/fieldmaskpb"

vkit "cloud.google.com/go/pubsub/apiv1"
)
Expand Down
2 changes: 1 addition & 1 deletion pubsub/topic.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ import (
"go.opencensus.io/stats"
"go.opencensus.io/tag"
"google.golang.org/api/support/bundler"
fmpb "google.golang.org/genproto/protobuf/field_mask"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/types/known/durationpb"
fmpb "google.golang.org/protobuf/types/known/fieldmaskpb"
)

const (
Expand Down

0 comments on commit 087a5fc

Please sign in to comment.