Skip to content

Commit

Permalink
Revert accidental format change
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasfp committed Feb 4, 2024
1 parent dcf2f22 commit b9bf9d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/NATS.Client.Services.Tests/ServicesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,10 @@ await grp2.AddEndpointAsync<int>(
await using var s2 = await svc.AddServiceAsync(
new NatsSvcConfig("s2", "2.0.0")
{
Description = "es-two", QueueGroup = "q2", Metadata = new Dictionary<string, string> { { "k1", "v1" }, { "k2", "v2" }, }, StatsHandler = ep => JsonNode.Parse($"{{\"stat-k1\":\"stat-v1\",\"stat-k2\":\"stat-v2\",\"ep_name\": \"{ep.Name}\"}}")!,
Description = "es-two",
QueueGroup = "q2",
Metadata = new Dictionary<string, string> { { "k1", "v1" }, { "k2", "v2" }, },
StatsHandler = ep => JsonNode.Parse($"{{\"stat-k1\":\"stat-v1\",\"stat-k2\":\"stat-v2\",\"ep_name\": \"{ep.Name}\"}}")!,
},
cancellationToken: cancellationToken);

Expand Down

0 comments on commit b9bf9d2

Please sign in to comment.