Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
YunchuWang committed Jan 10, 2025
1 parent 552a9c8 commit 54dba76
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Extensions/Azure/DurableTaskSchedulerOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ internal DurableTaskSchedulerOptions(string endpointAddress, string taskHubName,
{
Check.NotNullOrEmpty(endpointAddress, nameof(endpointAddress));
Check.NotNullOrEmpty(taskHubName, nameof(taskHubName));

// Add https:// prefix if no protocol is specified
this.EndpointAddress = !endpointAddress.Contains("://")
? $"https://{endpointAddress}"
this.EndpointAddress = !endpointAddress.Contains("://")
? $"https://{endpointAddress}"
: endpointAddress;

this.TaskHubName = taskHubName;
this.Credential = credential;
}
Expand Down

0 comments on commit 54dba76

Please sign in to comment.