remove duplicated label InternalState.REPLACE_MYSELF 19/95919/1
authorEinat Vinouze <einat.vinouze@intl.att.com>
Wed, 18 Sep 2019 13:54:29 +0000 (16:54 +0300)
committerEinat Vinouze <einat.vinouze@intl.att.com>
Wed, 18 Sep 2019 13:57:02 +0000 (16:57 +0300)
Issue-ID: VID-646
Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
Change-Id: Ifc6a43f9b34c5c792a05cc3502c1e8fcf5023210

vid-app-common/src/main/java/org/onap/vid/job/command/ResourceCommand.kt

index 2c50e03..8c769d6 100644 (file)
@@ -222,11 +222,6 @@ abstract class ResourceCommand(
                 else -> InternalState.IN_PROGRESS
             }
 
-            InternalState.REPLACE_MYSELF -> when (jobStatus) {
-                JobStatus.IN_PROGRESS -> InternalState.REPLACE_MYSELF
-                else -> InternalState.IN_PROGRESS
-            }
-
             InternalState.IN_PROGRESS -> {
                 when {
                     jobStatus != JobStatus.COMPLETED -> InternalState.IN_PROGRESS