Skip to content

Commit

Permalink
fix(pubsub-open-telemetry): fix merge conflict (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
alevenberg authored Nov 28, 2023
1 parent ffc3a90 commit e427e9c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pubsub-open-telemetry/quickstart.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ int main(int argc, char* argv[]) try {
// After this point, use the Cloud Pub/Sub C++ client library as usual.
// In this example, we will send a few messages and configure a callback
// action for each one.
auto publisher = pubsub::Publisher(pubsub::MakePublisherConnection(
pubsub::Topic(project_id, topic_id),
gc::Options{}.set<gc::OpenTelemetryTracingOption>(true)));

std::vector<gc::future<void>> ids;
for (int i = 0; i < 5; i++) {
auto id = publisher.Publish(pubsub::MessageBuilder().SetData("Hi!").Build())
Expand Down

0 comments on commit e427e9c

Please sign in to comment.