Repository: incubator-eagle Updated Branches: refs/heads/master e99b2fedf -> 268096f19
[MINOR] fix health check inject bug Author: wujinhu <wujinhu...@126.com> Closes #729 from wujinhu/EAGLE-794. Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/268096f1 Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/268096f1 Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/268096f1 Branch: refs/heads/master Commit: 268096f193926547f76c52cf40cf7775b581dc80 Parents: e99b2fe Author: wujinhu <wujinhu...@126.com> Authored: Mon Dec 12 10:54:30 2016 +0800 Committer: wujinhu <wujinhu...@126.com> Committed: Mon Dec 12 10:54:30 2016 +0800 ---------------------------------------------------------------------- .../eagle/app/service/impl/ApplicationHealthCheckServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/268096f1/eagle-core/eagle-app/eagle-app-base/src/main/java/org/apache/eagle/app/service/impl/ApplicationHealthCheckServiceImpl.java ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-app/eagle-app-base/src/main/java/org/apache/eagle/app/service/impl/ApplicationHealthCheckServiceImpl.java b/eagle-core/eagle-app/eagle-app-base/src/main/java/org/apache/eagle/app/service/impl/ApplicationHealthCheckServiceImpl.java index 7d8dcfd..b90d18b 100644 --- a/eagle-core/eagle-app/eagle-app-base/src/main/java/org/apache/eagle/app/service/impl/ApplicationHealthCheckServiceImpl.java +++ b/eagle-core/eagle-app/eagle-app-base/src/main/java/org/apache/eagle/app/service/impl/ApplicationHealthCheckServiceImpl.java @@ -129,7 +129,7 @@ public class ApplicationHealthCheckServiceImpl extends ApplicationHealthCheckSer return; } this.environment.healthChecks().register(appEntity.getAppId(), applicationHealthCheck.get()); - currentInjector.injectMembers(applicationHealthCheck); + currentInjector.injectMembers(applicationHealthCheck.get()); synchronized (lock) { if (!appHealthChecks.containsKey(appEntity.getAppId())) { appHealthChecks.put(appEntity.getAppId(), applicationHealthCheck);