File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed
Java/Eta/ValueAdd/src/main/java/com/thomsonreuters/upa/valueadd/reactor Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -1368,18 +1368,21 @@ Channel reconnectEDP(Error error)
13681368 // if done getting the auth token and service discovery
13691369 if (_state == State .EDP_RT_DONE )
13701370 {
1371- if ( _watchlist != null )
1371+ if ( Reactor . requestServiceDiscovery ( reactorConnectInfo ) )
13721372 {
1373- if (verifyAndCopyServiceDiscoveryData (_loginRequestForEDP , errorInfo ) != ReactorReturnCodes .SUCCESS )
1374- {
1375- error .text (errorInfo .error ().text ());
1376- return null ;
1377- }
1378- }
1379- else if (_watchlist == null && verifyAndCopyServiceDiscoveryData (_loginRequestForEDP , errorInfo ) != ReactorReturnCodes .SUCCESS )
1380- {
1381- error .text (errorInfo .error ().text ());
1382- return null ;
1373+ if (_watchlist != null )
1374+ {
1375+ if (verifyAndCopyServiceDiscoveryData (_loginRequestForEDP , errorInfo ) != ReactorReturnCodes .SUCCESS )
1376+ {
1377+ error .text (errorInfo .error ().text ());
1378+ return null ;
1379+ }
1380+ }
1381+ else if (_watchlist == null && verifyAndCopyServiceDiscoveryData (_loginRequestForEDP , errorInfo ) != ReactorReturnCodes .SUCCESS )
1382+ {
1383+ error .text (errorInfo .error ().text ());
1384+ return null ;
1385+ }
13831386 }
13841387
13851388 return reconnect (reactorConnectInfo , error );
You can’t perform that action at this time.
0 commit comments