Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rysweet committed Oct 8, 2024
1 parent 703ea55 commit ab9b629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dotnet/samples/Hello/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
var clientBuilder = WebApplication.CreateBuilder(args);
clientBuilder.Services.AddHostedService<AgentWorkerRuntime>();
clientBuilder.Services.AddSingleton<AgentClient>();
var agentBuilder = clientBuilder.AddAgentWorker("https://localhost:5001").AddAgent<HelloAgent>("HelloAgents");
var agentBuilder = clientBuilder.AddAgentWorker("https://localhost:5001").AddAgent<HelloAgent>("HelloAgent");
var clientApp = clientBuilder.Build();
await clientApp.StartAsync();

Expand All @@ -42,7 +42,7 @@
{
Message = "World"
}.ToCloudEvent("HelloAgents");
evt.Type = "HelloAgents";
//evt.Type = "HelloAgents";
await client.PublishEventAsync(evt);

await clientApp.WaitForShutdownAsync();
Expand Down

0 comments on commit ab9b629

Please sign in to comment.