Skip to content

Commit 34687d3

Browse files
committed
reverted change to useTrace
1 parent 9d5c127 commit 34687d3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/WebJobs.Extensions.DurableTask/EventGridLifeCycleNotificationHelper.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ public EventGridLifeCycleNotificationHelper(
6868
}
6969

7070
if (!string.IsNullOrEmpty(this.eventGridTopicEndpoint))
71-
{
72-
this.useTrace = true;
73-
71+
{
7472
if (!string.IsNullOrEmpty(eventGridNotificationsConfig.KeySettingName) || this.useManagedIdentity == true)
75-
{
73+
{
74+
this.useTrace = true;
75+
7676
var retryStatusCode = eventGridNotificationsConfig.PublishRetryHttpStatus?
7777
.Where(x => Enum.IsDefined(typeof(HttpStatusCode), x))
7878
.Select(x => (HttpStatusCode)x)

0 commit comments

Comments
 (0)