Skip to content

Commit

Permalink
fix comment to match pre-condition (#3052)
Browse files Browse the repository at this point in the history
  • Loading branch information
westin-m authored Dec 4, 2024
1 parent 4c5b41b commit 1293a5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public virtual async Task<T> GetConfigurationAsync(CancellationToken cancel)
/// <summary>
/// This should be called when the configuration needs to be updated either from RequestRefresh or AutomaticRefresh
/// The Caller should first check the state checking state using:
/// if (Interlocked.CompareExchange(ref _configurationRetrieverState, ConfigurationRetrieverIdle, ConfigurationRetrieverRunning) != ConfigurationRetrieverRunning).
/// if (Interlocked.CompareExchange(ref _configurationRetrieverState, ConfigurationRetrieverRunning, ConfigurationRetrieverIdle) == ConfigurationRetrieverIdle).
/// </summary>
private void UpdateCurrentConfiguration()
{
Expand Down

0 comments on commit 1293a5d

Please sign in to comment.