Skip to content

Commit

Permalink
SNOW-878067: Fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-ext-simba-lf committed Oct 26, 2023
1 parent 59f1f7e commit 5d7f9e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Snowflake.Data/Core/Session/SessionPool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,11 @@ internal void ClearAllPools()
internal async void ClearAllPoolsAsync()
{
s_logger.Debug("SessionPool::ClearAllPoolsAsync");
foreach (SFSession session in _sessionPool)
foreach (SFSession session in _sessions)
{
await session.CloseAsync(CancellationToken.None).ConfigureAwait(false);
}
_sessionPool.Clear();
_sessions.Clear();
}

Check warning on line 204 in Snowflake.Data/Core/Session/SessionPool.cs

View check run for this annotation

Codecov / codecov/patch

Snowflake.Data/Core/Session/SessionPool.cs#L202-L204

Added lines #L202 - L204 were not covered by tests

public void SetMaxPoolSize(int size)
Expand Down

0 comments on commit 5d7f9e1

Please sign in to comment.