Ver código fonte

correct spelling

master
yangxiaodong 7 anos atrás
pai
commit
595adb76c7
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      src/DotNetCore.CAP/CAP.AppBuilderExtensions.cs

+ 1
- 1
src/DotNetCore.CAP/CAP.AppBuilderExtensions.cs Ver arquivo

@@ -58,7 +58,7 @@ namespace Microsoft.AspNetCore.Builder
var messageQueuemarker = app.ApplicationServices.GetService<CapMessageQueueMakerService>();
if (messageQueuemarker == null)
{
throw new InvalidOperationException("You must be config used database provider at AddCap() options! eg: services.AddCap(options=>{ options.UseKafka(...) })");
throw new InvalidOperationException("You must be config used message queue provider at AddCap() options! eg: services.AddCap(options=>{ options.UseKafka(...) })");
}

var databaseMarker = app.ApplicationServices.GetService<CapDatabaseStorageMarkerService>();


Carregando…
Cancelar
Salvar