You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by sa...@apache.org on 2022/05/01 00:13:11 UTC

[incubator-heron] 10/10: [K8s] Removed unneeded imports and constants.

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

saadurrahman pushed a commit to branch 3821-Remove-Deprecated-Volumes-K8s-dev
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git

commit 0ef4430c6991f81289385c0e51e8358b4ef47e77
Author: Saad Ur Rahman <sa...@apache.org>
AuthorDate: Sat Apr 30 13:59:39 2022 -0400

    [K8s] Removed unneeded imports and constants.
---
 .../src/java/org/apache/heron/scheduler/kubernetes/Volumes.java    | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/heron/schedulers/src/java/org/apache/heron/scheduler/kubernetes/Volumes.java b/heron/schedulers/src/java/org/apache/heron/scheduler/kubernetes/Volumes.java
index 85cae559627..a4d92cfc938 100644
--- a/heron/schedulers/src/java/org/apache/heron/scheduler/kubernetes/Volumes.java
+++ b/heron/schedulers/src/java/org/apache/heron/scheduler/kubernetes/Volumes.java
@@ -24,17 +24,10 @@ import java.util.Map;
 
 import org.apache.heron.spi.common.Config;
 
-import io.kubernetes.client.openapi.models.V1AWSElasticBlockStoreVolumeSource;
-import io.kubernetes.client.openapi.models.V1HostPathVolumeSource;
-import io.kubernetes.client.openapi.models.V1NFSVolumeSource;
 import io.kubernetes.client.openapi.models.V1Volume;
 
 final class Volumes {
 
-  static final String AWS_EBS = "awsElasticBlockStore";
-  static final String HOST_PATH = "hostPath";
-  static final String NFS = "nfs";
-
   private final Map<String, VolumeFactory> volumes = new HashMap<>();
 
   private Volumes() {