rpuch commented on code in PR #4442:
URL: https://github.com/apache/ignite-3/pull/4442#discussion_r1773202105


##########
modules/runner/src/main/java/org/apache/ignite/internal/app/IgniteImpl.java:
##########
@@ -1159,6 +1160,7 @@ private RestComponent createRestComponent(String name) {
         Supplier<RestFactory> restManagerFactory = () -> new 
RestManagerFactory(restManager);
         Supplier<RestFactory> computeRestFactory = () -> new 
ComputeRestFactory(compute);
         Supplier<RestFactory> disasterRecoveryFactory = () -> new 
DisasterRecoveryFactory(disasterRecoveryManager);
+        Supplier<RestFactory> systemDisasterRecoveryFactory = () -> new 
SystemDisasterRecoveryFactory(systemDisasterRecoveryManager);

Review Comment:
   I think DI should do this. DI will come and save us :)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to