Skip to content

Commit

Permalink
use first uri to get auth information
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrxx99 committed Nov 2, 2024
1 parent 4e0f948 commit 13d43f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NATS.Client.Core/NatsConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ private static NatsOpts ReadUserInfoFromConnectionString(NatsOpts opts)
{
var first = true;

var natsUris = opts.GetSeedUris();
var natsUris = opts.GetSeedUris(suppressRandomization: true);
var maskedUris = new List<string>(natsUris.Length);

foreach (var natsUri in natsUris)
Expand Down

0 comments on commit 13d43f2

Please sign in to comment.