aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/job/command/ResourceCommand.kt5
1 files changed, 0 insertions, 5 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/job/command/ResourceCommand.kt b/vid-app-common/src/main/java/org/onap/vid/job/command/ResourceCommand.kt
index 2c50e03cd..8c769d68d 100644
--- a/vid-app-common/src/main/java/org/onap/vid/job/command/ResourceCommand.kt
+++ b/vid-app-common/src/main/java/org/onap/vid/job/command/ResourceCommand.kt
@@ -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