commit | bc0dcab7a235ad78a6b3201aa315e2071eac8fce | [log] [tgz] |
---|---|---|
author | Ittay Stern <ittay.stern@att.com> | Wed Sep 18 14:59:00 2019 +0000 |
committer | Gerrit Code Review <gerrit@onap.org> | Wed Sep 18 14:59:00 2019 +0000 |
tree | 3af7118ec708859d5ad8687b8a2dfc787b193bf0 | |
parent | 2f9bd74801137872422428cc97838943558398b1 [diff] | |
parent | ef3cdf1fb3b9432d3bdcbb39fb356042d2443103 [diff] |
Merge "remove duplicated label InternalState.REPLACE_MYSELF"
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