diff options
author | Piotr Wielebski <piotr.wielebski@nokia.com> | 2019-11-07 13:58:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-11-07 13:58:18 +0000 |
commit | b6160ac4a289b2a0ca12f26b6f8be5186438a6c7 (patch) | |
tree | 64301ea42b5da2fb55326c6fb473126eac4f747f /prh-app-server/src/main | |
parent | 9e2877371c44603490e9a9779090d6d80cd7a7d2 (diff) | |
parent | 0f0892fbf3105c1dfa695bc380fc525b82fa9d86 (diff) |
Merge "Update PNF in AAI"
Diffstat (limited to 'prh-app-server/src/main')
-rw-r--r-- | prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/ScheduledTasks.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/ScheduledTasks.java b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/ScheduledTasks.java index 74c6c426..0d268003 100644 --- a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/ScheduledTasks.java +++ b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/ScheduledTasks.java @@ -161,9 +161,7 @@ public class ScheduledTasks { private Mono<State> publishToAaiConfiguration(final State state) { try { - return state.activationStatus - ? Mono.just(state) - : aaiProducerTask + return aaiProducerTask .execute(state.dmaapModel) .map(x -> state); } catch (PrhTaskException e) { |