diff options
author | Einat Vinouze <einat.vinouze@intl.att.com> | 2019-09-18 16:54:29 +0300 |
---|---|---|
committer | Einat Vinouze <einat.vinouze@intl.att.com> | 2019-09-18 16:57:02 +0300 |
commit | ef3cdf1fb3b9432d3bdcbb39fb356042d2443103 (patch) | |
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
-rw-r--r-- | vid-app-common/src/main/java/org/onap/vid/job/command/ResourceCommand.kt | 5 |
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 |