Skip to content

Commit

Permalink
update var name
Browse files Browse the repository at this point in the history
  • Loading branch information
microzchang committed Apr 22, 2024
1 parent 0cdd51a commit 2a1294d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,8 @@ namespace Azure { namespace Storage { namespace Test {
EXPECT_NO_THROW(queueServiceClient.GetProperties());

// With custom audience
auto blobUrl = Azure::Core::Url(m_queueServiceClient->GetUrl());
clientOptions.Audience = Queues::QueueAudience(blobUrl.GetScheme() + "://" + blobUrl.GetHost());
auto queueUrl = Azure::Core::Url(m_queueServiceClient->GetUrl());
clientOptions.Audience = Queues::QueueAudience(queueUrl.GetScheme() + "://" + queueUrl.GetHost());
queueServiceClient = Queues::QueueServiceClient(
m_queueServiceClient->GetUrl(),
std::make_shared<Azure::Identity::ClientSecretCredential>(
Expand Down

0 comments on commit 2a1294d

Please sign in to comment.