Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3953804

Browse files
alexluongclaude
andcommitted
fix: pass basePublisherOpts to GCP Pub/Sub constructor
This resolves the TODO comment and ensures GCP Pub/Sub receivesthe same base publisher configuration as other destination providers.🤖 Generated with [Claude Code](https://claude.com/claude-code)Co-Authored-By: Claude <noreply@anthropic.com>
1 parent880a42e commit3953804

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎internal/destregistry/providers/default.go‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ func RegisterDefault(registry destregistry.Registry, opts RegisterDefaultDestina
102102
}
103103
registry.RegisterProvider("aws_s3",awsS3)
104104

105-
// TODO: should basePublisherOpts be passed here?
106-
gcpPubSub,err:=destgcppubsub.New(loader)
105+
gcpPubSub,err:=destgcppubsub.New(loader,basePublisherOpts)
107106
iferr!=nil {
108107
returnerr
109108
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp