Skip to content

Commit

Permalink
Using fully qualified subscription names.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmackdev committed Sep 21, 2023
1 parent a361c9d commit 6d50fc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pubsubman_backend/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ impl Backend {
self.rt.spawn(async move {
let sub_name = format!("pubsubman-subscription-{}", Uuid::new_v4());

let _subscription = client
let subscription = client
.create_subscription(
&sub_name,
&topic_name.0,
Expand All @@ -113,7 +113,7 @@ impl Backend {
back_tx
.send(BackendMessage::SubscriptionCreated(
topic_name,
SubscriptionName(sub_name),
SubscriptionName(subscription.fully_qualified_name().to_owned()),
))
.await
.unwrap();
Expand Down

0 comments on commit 6d50fc1

Please sign in to comment.