Skip to content

Commit 712038e

Browse files
committed
removed unnecessary code
1 parent ead364b commit 712038e

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/Microsoft.Extensions.Configuration.AzureAppConfiguration/AzureAppConfigurationProvider.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -921,12 +921,7 @@ await CallWithRequestTracing(async () =>
921921
}
922922
else
923923
{
924-
// Load snapshot data
925-
// SnapshotReference snapshotReference = new SnapshotReference(loadOption.SnapshotName);
926-
927-
var snapshotReference = new SnapshotReference { SnapshotName = loadOption.SnapshotName };
928-
929-
Dictionary<string, ConfigurationSetting> resolvedSettings = await LoadSnapshotData(snapshotReference.SnapshotName, client, cancellationToken).ConfigureAwait(false);
924+
Dictionary<string, ConfigurationSetting> resolvedSettings = await LoadSnapshotData(loadOption.SnapshotName, client, cancellationToken).ConfigureAwait(false);
930925

931926
foreach (KeyValuePair<string, ConfigurationSetting> resolvedSetting in resolvedSettings)
932927
{

src/Microsoft.Extensions.Configuration.AzureAppConfiguration/Extensions/ContentTypeExtensions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using System.Net.Mime;
77
using Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureKeyVault;
88
using Microsoft.Extensions.Configuration.AzureAppConfiguration.FeatureManagement;
9-
using Microsoft.Extensions.Configuration.AzureAppConfiguration.SnapshotReferences;
109
using System.Collections.Generic;
1110

1211
namespace Microsoft.Extensions.Configuration.AzureAppConfiguration.Extensions

0 commit comments

Comments
 (0)