Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AE9C2200BE9 for ; Mon, 12 Dec 2016 03:54:40 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id AD37B160B2C; Mon, 12 Dec 2016 02:54:40 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 01ED0160B20 for ; Mon, 12 Dec 2016 03:54:39 +0100 (CET) Received: (qmail 3507 invoked by uid 500); 12 Dec 2016 02:54:39 -0000 Mailing-List: contact commits-help@eagle.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@eagle.incubator.apache.org Delivered-To: mailing list commits@eagle.incubator.apache.org Received: (qmail 3495 invoked by uid 99); 12 Dec 2016 02:54:39 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2016 02:54:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 8970FC02F7 for ; Mon, 12 Dec 2016 02:54:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.219 X-Spam-Level: X-Spam-Status: No, score=-6.219 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id OiALHKqmcTqQ for ; Mon, 12 Dec 2016 02:54:37 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id E8C395F1AE for ; Mon, 12 Dec 2016 02:54:36 +0000 (UTC) Received: (qmail 3478 invoked by uid 99); 12 Dec 2016 02:54:36 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2016 02:54:36 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 094E2E09B3; Mon, 12 Dec 2016 02:54:36 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jinhuwu@apache.org To: commits@eagle.incubator.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: incubator-eagle git commit: [MINOR] fix health check inject bug Date: Mon, 12 Dec 2016 02:54:36 +0000 (UTC) archived-at: Mon, 12 Dec 2016 02:54:40 -0000 Repository: incubator-eagle Updated Branches: refs/heads/master e99b2fedf -> 268096f19 [MINOR] fix health check inject bug Author: wujinhu 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 Authored: Mon Dec 12 10:54:30 2016 +0800 Committer: wujinhu 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);