This is an automated email from the ASF dual-hosted git repository.

suvasude pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-gobblin.git


The following commit(s) were added to refs/heads/master by this push:
     new d12e41e  [GOBBLIN-804] Fix config member variable not being set
d12e41e is described below

commit d12e41ef5b48534c23ff38dada6ed0288dd9ad72
Author: Jack Moseley <[email protected]>
AuthorDate: Wed Jun 12 21:51:37 2019 -0700

    [GOBBLIN-804] Fix config member variable not being set
    
    Closes #2670 from jack-moseley/config-fix
---
 .../org/apache/gobblin/service/modules/core/GobblinServiceManager.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/gobblin-service/src/main/java/org/apache/gobblin/service/modules/core/GobblinServiceManager.java
 
b/gobblin-service/src/main/java/org/apache/gobblin/service/modules/core/GobblinServiceManager.java
index 05e5143..23cbc5d 100644
--- 
a/gobblin-service/src/main/java/org/apache/gobblin/service/modules/core/GobblinServiceManager.java
+++ 
b/gobblin-service/src/main/java/org/apache/gobblin/service/modules/core/GobblinServiceManager.java
@@ -17,7 +17,6 @@
 
 package org.apache.gobblin.service.modules.core;
 
-import com.typesafe.config.ConfigValueFactory;
 import java.io.IOException;
 import java.lang.reflect.InvocationTargetException;
 import java.net.URI;
@@ -169,6 +168,7 @@ public class GobblinServiceManager implements 
ApplicationLauncher, StandardMetri
     if (!properties.contains(ServiceBasedAppLauncher.APP_STOP_TIME_SECONDS)) {
       properties.setProperty(ServiceBasedAppLauncher.APP_STOP_TIME_SECONDS, 
Long.toString(300));
     }
+    this.config = config;
     this.metricContext = 
Instrumented.getMetricContext(ConfigUtils.configToState(config), 
this.getClass());
     this.metrics = new Metrics(this.metricContext, config);
     this.serviceName = serviceName;

Reply via email to