Skip to content
Merged
Changes from all commits
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
4 changes: 2 additions & 2 deletions tavern/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ func (cfg *Config) NewShellMuxes(ctx context.Context) (wsMux *stream.Mux, grpcMu
return name
}

shellInputTopic := client.Topic(strings.TrimPrefix(topicShellInput, "gcppubsub://"))
shellOutputTopic := client.Topic(strings.TrimPrefix(topicShellOutput, "gcppubsub://"))
shellInputTopic := client.Topic(strings.TrimPrefix(topicShellInput, fmt.Sprintf("gcppubsub://projects/%s/topics/", projectID)))
shellOutputTopic := client.Topic(strings.TrimPrefix(topicShellOutput, fmt.Sprintf("gcppubsub://projects/%s/topics/", projectID)))

// Overwrite env var specification with newly created GCP PubSub Subscriptions
subShellInput = fmt.Sprintf("gcpubsub://%s", createGCPSubscription(ctx, EnvPubSubSubscriptionShellInput, shellInputTopic))
Expand Down
Loading