Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
revert change that erroneously deletes bq config check
  • Loading branch information
hongalex committed Jun 15, 2023
commit 725858e05c31d2c802795cba7bc9a72bf4a239c5
1 change: 1 addition & 0 deletions pubsub/pstest/fake.go
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,7 @@ func (s *GServer) UpdateSubscription(_ context.Context, req *pb.UpdateSubscripti
case "bigquery_config":
// If bq config is nil here, it will be cleared.
// Otherwise, we'll consider the subscription active if any table is set.
sub.proto.BigqueryConfig = req.GetSubscription().GetBigqueryConfig()
if sub.proto.GetBigqueryConfig() != nil {
if sub.proto.GetBigqueryConfig().GetTable() != "" {
sub.proto.BigqueryConfig.State = pb.BigQueryConfig_ACTIVE
Expand Down