From: Einat Vinouze Date: Wed, 18 Sep 2019 13:54:29 +0000 (+0300) Subject: remove duplicated label InternalState.REPLACE_MYSELF X-Git-Tag: 6.0.0~2^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=ef3cdf1fb3b9432d3bdcbb39fb356042d2443103;p=vid.git remove duplicated label InternalState.REPLACE_MYSELF Issue-ID: VID-646 Signed-off-by: Einat Vinouze Change-Id: Ifc6a43f9b34c5c792a05cc3502c1e8fcf5023210 --- 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