Sfoglia il codice sorgente

Fix unit tests

master
Savorboard 5 anni fa
parent
commit
cf3829993b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/DotNetCore.CAP/Internal/IConsumerServiceSelector.Default.cs

+ 1
- 1
src/DotNetCore.CAP/Internal/IConsumerServiceSelector.Default.cs Vedi File

@@ -166,7 +166,7 @@ namespace DotNetCore.CAP.Internal

private ConsumerExecutorDescriptor MatchUsingName(string key, IReadOnlyList<ConsumerExecutorDescriptor> executeDescriptor)
{
return executeDescriptor.FirstOrDefault(x => x.Attribute.Name == key);
return executeDescriptor.FirstOrDefault(x => x.Attribute.Name.Equals(key, StringComparison.InvariantCultureIgnoreCase));
}

private ConsumerExecutorDescriptor MatchAsteriskUsingRegex(string key, IReadOnlyList<ConsumerExecutorDescriptor> executeDescriptor)


Caricamento…
Annulla
Salva