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 19:35:39 UTC

[incubator-heron] 06/07: [K8s] cleanup in VolumeFactory.

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

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

commit cb2ccca05afc7da6acec8a1142a19ce6b2ec78d4
Author: Saad Ur Rahman <sa...@apache.org>
AuthorDate: Sun May 1 15:30:25 2022 -0400

    [K8s] cleanup in VolumeFactory.
---
 .../src/java/org/apache/heron/scheduler/kubernetes/Volumes.java      | 5 ++---
 1 file changed, 2 insertions(+), 3 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 8423ce79e20..c7abff725b6 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
@@ -30,7 +30,6 @@ final class Volumes {
 
   public enum VolumeType {
     EmptyDir,
-    Generic,
     HostPath,
     NetworkFileSystem,
     PersistentVolumeClaim,
@@ -105,7 +104,7 @@ final class Volumes {
   static class HostPathVolumeFactory implements VolumeFactory {
 
     /**
-     * Generates an <code>Host Path</code> <code>V1 Volume</code>.
+     * Generates a <code>Host Path</code> <code>V1 Volume</code>.
      * @param volumeName The name of the volume to generate.
      * @param configs    A map of configurations.
      * @return A fully configured <code>Host Path</code> volume.
@@ -138,7 +137,7 @@ final class Volumes {
   static class NetworkFileSystemVolumeFactory implements VolumeFactory {
 
     /**
-     * Generates an <code>Network File System</code> <code>V1 Volume</code>.
+     * Generates a <code>Network File System</code> <code>V1 Volume</code>.
      *
      * @param volumeName The name of the volume to generate.
      * @param configs    A map of configurations.