Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
YunchuWang committed Jan 14, 2025
1 parent 3a40d09 commit 821acdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Worker/AzureManaged/DurableTaskSchedulerWorkerOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ internal static DurableTaskSchedulerWorkerOptions FromConnectionString(
/// <returns>A configured <see cref="GrpcChannel"/> instance that can be used to make gRPC calls.</returns>
public GrpcChannel CreateChannel()

Check warning on line 80 in src/Worker/AzureManaged/DurableTaskSchedulerWorkerOptions.cs

View workflow job for this annotation

GitHub Actions / build

{
Check.NotNullOrEmpty(this.EndpointAddress, nameof(this.EndpointAddress));
Check.NotNullOrEmpty(this.TaskHubName, nameof(this.TaskHubName));
Verify.NotNull(this.EndpointAddress, nameof(this.EndpointAddress));
Verify.NotNull(this.TaskHubName, nameof(this.TaskHubName));
string taskHubName = this.TaskHubName;
string endpoint = !this.EndpointAddress.Contains("://")
? $"https://{this.EndpointAddress}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using System.ComponentModel.DataAnnotations;
using Azure.Core;
using Azure.Identity;
using FluentAssertions;
Expand All @@ -10,7 +11,6 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Moq;
using System.ComponentModel.DataAnnotations;
using Xunit;

namespace Microsoft.DurableTask.Client.AzureManaged.Tests;
Expand Down

0 comments on commit 821acdd

Please sign in to comment.