Merge "remove duplicated label InternalState.REPLACE_MYSELF"
authorIttay Stern <ittay.stern@att.com>
Wed, 18 Sep 2019 14:59:00 +0000 (14:59 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 18 Sep 2019 14:59:00 +0000 (14:59 +0000)
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