commit | ef3cdf1fb3b9432d3bdcbb39fb356042d2443103 | [log] [tgz] |
---|---|---|
author | Einat Vinouze <einat.vinouze@intl.att.com> | Wed Sep 18 16:54:29 2019 +0300 |
committer | Einat Vinouze <einat.vinouze@intl.att.com> | Wed Sep 18 16:57:02 2019 +0300 |
tree | f15d70b116e8624ef329ec398be3d45b70fe962e | |
parent | bedaaafc685d279615e755419ca4d8653b8a29f7 [diff] |
remove duplicated label InternalState.REPLACE_MYSELF Issue-ID: VID-646 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> 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 2c50e03..8c769d6 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 @@ 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