You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by me...@apache.org on 2020/07/26 07:11:11 UTC
[shardingsphere-elasticjob-ui] branch master updated: Fix
getINSTANCE method compile error
This is an automated email from the ASF dual-hosted git repository.
menghaoran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob-ui.git
The following commit(s) were added to refs/heads/master by this push:
new db5a17d Fix getINSTANCE method compile error
new 9377059 Merge pull request #16 from cncounter/fixCompileError
db5a17d is described below
commit db5a17d8cc031361d0bfa8c2f4ab5acc38b8792f
Author: renfufei <re...@huobi.com>
AuthorDate: Sun Jul 26 15:02:50 2020 +0800
Fix getINSTANCE method compile error
---
.../elasticjob/cloud/ui/web/controller/CloudJobController.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shardingsphere-elasticjob-cloud-ui/shardingsphere-elasticjob-cloud-ui-backend/src/main/java/org/apache/shardingsphere/elasticjob/cloud/ui/web/controller/CloudJobController.java b/shardingsphere-elasticjob-cloud-ui/shardingsphere-elasticjob-cloud-ui-backend/src/main/java/org/apache/shardingsphere/elasticjob/cloud/ui/web/controller/CloudJobController.java
index 5b657ac..bf3d84c 100644
--- a/shardingsphere-elasticjob-cloud-ui/shardingsphere-elasticjob-cloud-ui-backend/src/main/java/org/apache/shardingsphere/elasticjob/cloud/ui/web/controller/CloudJobController.java
+++ b/shardingsphere-elasticjob-cloud-ui/shardingsphere-elasticjob-cloud-ui-backend/src/main/java/org/apache/shardingsphere/elasticjob/cloud/ui/web/controller/CloudJobController.java
@@ -102,7 +102,7 @@ public final class CloudJobController {
public static void init(final CoordinatorRegistryCenter regCenter, final ProducerManager producerManager) {
CloudJobController.regCenter = regCenter;
CloudJobController.producerManager = producerManager;
- Optional<TracingConfiguration> tracingConfiguration = BootstrapEnvironment.getInstance().getTracingConfiguration();
+ Optional<TracingConfiguration> tracingConfiguration = BootstrapEnvironment.getINSTANCE().getTracingConfiguration();
jobEventRdbSearch = tracingConfiguration.map(tracingConfiguration1 -> new JobEventRdbSearch((DataSource) tracingConfiguration1.getStorage())).orElse(null);
}