File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/ReverseProxy/Management Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ public ProxyConfigManager(
8282 ArgumentNullException . ThrowIfNull ( httpClientFactory ) ;
8383 ArgumentNullException . ThrowIfNull ( activeHealthCheckMonitor ) ;
8484 ArgumentNullException . ThrowIfNull ( clusterDestinationsUpdater ) ;
85+ ArgumentNullException . ThrowIfNull ( configChangeListeners ) ;
8586 ArgumentNullException . ThrowIfNull ( destinationResolver ) ;
8687
8788 _logger = logger ;
@@ -95,7 +96,7 @@ public ProxyConfigManager(
9596 _activeHealthCheckMonitor = activeHealthCheckMonitor ;
9697 _clusterDestinationsUpdater = clusterDestinationsUpdater ;
9798 _destinationResolver = destinationResolver ;
98- _configChangeListeners = configChangeListeners ? . ToArray ( ) ?? Array . Empty < IConfigChangeListener > ( ) ;
99+ _configChangeListeners = configChangeListeners . ToArray ( ) ;
99100
100101 if ( _providers . Length == 0 )
101102 {
You can’t perform that action at this time.
0 commit comments