You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by hu...@apache.org on 2018/04/10 18:49:37 UTC
[incubator-heron] branch huijunw/healthmgrmetrics updated: update
style3
This is an automated email from the ASF dual-hosted git repository.
huijun pushed a commit to branch huijunw/healthmgrmetrics
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
The following commit(s) were added to refs/heads/huijunw/healthmgrmetrics by this push:
new 51fa13f update style3
51fa13f is described below
commit 51fa13fe12a8d60cc1b66c3dc06b2a7bef924d2a
Author: Huijun Wu <hu...@twitter.com>
AuthorDate: Tue Apr 10 11:49:24 2018 -0700
update style3
---
.../src/java/com/twitter/heron/healthmgr/HealthManager.java | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/heron/healthmgr/src/java/com/twitter/heron/healthmgr/HealthManager.java b/heron/healthmgr/src/java/com/twitter/heron/healthmgr/HealthManager.java
index 127a413..e6325d9 100644
--- a/heron/healthmgr/src/java/com/twitter/heron/healthmgr/HealthManager.java
+++ b/heron/healthmgr/src/java/com/twitter/heron/healthmgr/HealthManager.java
@@ -359,11 +359,14 @@ public class HealthManager {
return new AbstractModule() {
@Override
protected void configure() {
- bind(String.class).annotatedWith(Names.named(CONF_TOPOLOGY_NAME))
+ bind(String.class)
+ .annotatedWith(Names.named(CONF_TOPOLOGY_NAME))
.toInstance(Context.topologyName(config));
- bind(String.class).annotatedWith(Names.named(TrackerMetricsProvider.CONF_CLUSTER))
+ bind(String.class)
+ .annotatedWith(Names.named(TrackerMetricsProvider.CONF_CLUSTER))
.toInstance(Context.cluster(config));
- bind(String.class).annotatedWith(Names.named(TrackerMetricsProvider.CONF_ENVIRON))
+ bind(String.class)
+ .annotatedWith(Names.named(TrackerMetricsProvider.CONF_ENVIRON))
.toInstance(Context.environ(config));
bind(Config.class).toInstance(config);
bind(EventManager.class).in(Singleton.class);
--
To stop receiving notification emails like this one, please contact
huijun@apache.org.