Explorar el Código

Fix unit tests

master
Savorboard hace 5 años
padre
commit
cf3829993b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/DotNetCore.CAP/Internal/IConsumerServiceSelector.Default.cs

+ 1
- 1
src/DotNetCore.CAP/Internal/IConsumerServiceSelector.Default.cs Ver fichero

@@ -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)


Cargando…
Cancelar
Guardar