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

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


The following commit(s) were added to refs/heads/master by this push:
     new e56eca0  Remove 'Kubernetes' in SPI function name (#3193)
e56eca0 is described below

commit e56eca09f0505eab00c5cb4b1f73c8877f5172c1
Author: Ning Wang <[email protected]>
AuthorDate: Mon Feb 11 10:43:44 2019 -0800

    Remove 'Kubernetes' in SPI function name (#3193)
---
 .../src/java/org/apache/heron/scheduler/kubernetes/KubernetesUtils.java | 2 +-
 heron/spi/src/java/org/apache/heron/spi/common/Context.java             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/heron/schedulers/src/java/org/apache/heron/scheduler/kubernetes/KubernetesUtils.java
 
b/heron/schedulers/src/java/org/apache/heron/scheduler/kubernetes/KubernetesUtils.java
index 76f432a..edf310a 100644
--- 
a/heron/schedulers/src/java/org/apache/heron/scheduler/kubernetes/KubernetesUtils.java
+++ 
b/heron/schedulers/src/java/org/apache/heron/scheduler/kubernetes/KubernetesUtils.java
@@ -41,7 +41,7 @@ final class KubernetesUtils {
   }
 
   static String getConfCommand(Config config) {
-    return String.format("%s %s", Context.downloaderConfKubernetes(config), 
CONTAINER);
+    return String.format("%s %s", Context.downloaderConf(config), CONTAINER);
   }
 
   static String getFetchCommand(Config config, Config runtime) {
diff --git a/heron/spi/src/java/org/apache/heron/spi/common/Context.java 
b/heron/spi/src/java/org/apache/heron/spi/common/Context.java
index 81dfeab..c8a1d3c 100644
--- a/heron/spi/src/java/org/apache/heron/spi/common/Context.java
+++ b/heron/spi/src/java/org/apache/heron/spi/common/Context.java
@@ -346,7 +346,7 @@ public class Context {
     return cfg.getStringValue(Key.DOWNLOADER_BINARY);
   }
 
-  public static String downloaderConfKubernetes(Config cfg) {
+  public static String downloaderConf(Config cfg) {
     return cfg.getStringValue(Key.DOWNLOADER_CONF);
   }
 

Reply via email to