summaryrefslogtreecommitdiffstats
path: root/components/pm-subscription-handler/pmsh_service/mod/subscription_handler.py
diff options
context:
space:
mode:
authorERIMROB <robertas.rimkus@est.tech>2020-06-19 13:09:44 +0100
committerERIMROB <robertas.rimkus@est.tech>2020-06-30 02:15:21 +0100
commitb80449b81a2deb3b6e2510a655de02f9375ef636 (patch)
treeee022a88ee287645c72f6716eb9c501b9cf06484 /components/pm-subscription-handler/pmsh_service/mod/subscription_handler.py
parent20637908b156aeff53d7607f88d655d0becc1f11 (diff)
[PMSH] Improve Failure Handling
Signed-off-by: ERIMROB <robertas.rimkus@est.tech> Change-Id: I15d338321957a293e9f444a10cf3bb06f4212f3e Issue-ID: DCAEGEN2-2157
Diffstat (limited to 'components/pm-subscription-handler/pmsh_service/mod/subscription_handler.py')
-rw-r--r--components/pm-subscription-handler/pmsh_service/mod/subscription_handler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/pm-subscription-handler/pmsh_service/mod/subscription_handler.py b/components/pm-subscription-handler/pmsh_service/mod/subscription_handler.py
index add8be42..112f994b 100644
--- a/components/pm-subscription-handler/pmsh_service/mod/subscription_handler.py
+++ b/components/pm-subscription-handler/pmsh_service/mod/subscription_handler.py
@@ -42,10 +42,10 @@ class SubscriptionHandler:
if self.administrative_state == new_administrative_state:
logger.info('Administrative State did not change in the Config')
else:
- logger.info(f'Administrative State has changed from {self.administrative_state} '
- f'to {new_administrative_state}.')
self.current_nfs = aai.get_pmsh_nfs_from_aai(self.app_conf)
self.current_sub = self.app_conf.subscription
+ logger.info(f'Administrative State has changed from {self.administrative_state} '
+ f'to {new_administrative_state}.')
self.administrative_state = new_administrative_state
self.current_sub.process_subscription(self.current_nfs, self.mr_pub, self.app_conf)