diff options
Diffstat (limited to 'vid-app-common/src/main')
-rw-r--r-- | vid-app-common/src/main/java/org/onap/vid/job/command/VfmoduleCommand.kt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/job/command/VfmoduleCommand.kt b/vid-app-common/src/main/java/org/onap/vid/job/command/VfmoduleCommand.kt index 731625c53..68c9f53e1 100644 --- a/vid-app-common/src/main/java/org/onap/vid/job/command/VfmoduleCommand.kt +++ b/vid-app-common/src/main/java/org/onap/vid/job/command/VfmoduleCommand.kt @@ -207,9 +207,6 @@ class VfmoduleCommand @Autowired constructor( val serviceModelInfo = serviceModelInfoFromRequest() val modelNewestUuid = commandUtils.getNewestModelUuid(serviceModelInfo.modelInvariantId); - check(!modelNewestUuid.equals(serviceModelInfo.modelVersionId, true)) { - "Model version id ${serviceModelInfo.modelVersionId} is already the latest version of model's invariant id ${serviceModelInfo.modelInvariantId}" } - val serviceNewestModel = commandUtils.getServiceModel(modelNewestUuid); return serviceNewestModel; |