mirror of https://github.com/dapr/dotnet-sdk.git
Fixing falsely logged default subscription message (#761)
This commit is contained in:
parent
1acd372ae2
commit
75bdb8ce2f
|
|
@ -79,7 +79,7 @@ namespace Microsoft.AspNetCore.Builder
|
|||
|
||||
if (logger != null)
|
||||
{
|
||||
if (defaultRoutes.Count() > 0)
|
||||
if (defaultRoutes.Count() > 1)
|
||||
{
|
||||
logger.LogError("A default subscription to topic {name} on pubsub {pubsub} already exists.", first.Name, first.PubsubName);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue