mirror of https://github.com/dapr/dotnet-sdk.git
Updated the types to match throughout to fix CI build error
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
This commit is contained in:
parent
ab2249cba6
commit
08433d1c3b
|
|
@ -89,7 +89,7 @@ internal class DaprConfigurationStoreProvider : ConfigurationProvider, IDisposab
|
|||
var subscribeConfigurationResponse = await daprClient.SubscribeConfiguration(store, keys, metadata, cts.Token);
|
||||
await foreach (var items in subscribeConfigurationResponse.Source.WithCancellation(cts.Token))
|
||||
{
|
||||
var data = new Dictionary<string, string>(Data, StringComparer.OrdinalIgnoreCase);
|
||||
var data = new Dictionary<string, string?>(Data, StringComparer.OrdinalIgnoreCase);
|
||||
foreach (var item in items)
|
||||
{
|
||||
id = subscribeConfigurationResponse.Id;
|
||||
|
|
@ -121,4 +121,4 @@ internal class DaprConfigurationStoreProvider : ConfigurationProvider, IDisposab
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ internal class DaprSecretStoreConfigurationProvider : ConfigurationProvider
|
|||
|
||||
private async Task LoadAsync()
|
||||
{
|
||||
var data = new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase);
|
||||
var data = new Dictionary<string, string?>(StringComparer.InvariantCultureIgnoreCase);
|
||||
|
||||
// Wait for the Dapr Sidecar to report healthy before attempting to fetch secrets.
|
||||
using (var tokenSource = new CancellationTokenSource(sidecarWaitTimeout))
|
||||
|
|
@ -259,4 +259,4 @@ internal class DaprSecretStoreConfigurationProvider : ConfigurationProvider
|
|||
Data = data;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue