diff options
author | hongyuzhao <zhao.hongyu@zte.com.cn> | 2019-08-12 17:04:37 +0800 |
---|---|---|
committer | hongyuzhao <zhao.hongyu@zte.com.cn> | 2019-08-12 17:06:05 +0800 |
commit | 2cd885c6de901784dfdfcf50a8ca1316c3daa029 (patch) | |
tree | be9419543b07c9dc9b261a5c63a900e59e16e2ee | |
parent | 1b0cfdd432919f8eac484d67508291f3143008ef (diff) |
fix bug for failure in creating subscriptions for vnfm
Change-Id: Ie49b7f84627e582516ad2bcb2e7bb6e523fcabbb
Issue-ID: VFC-1482
Signed-off-by: hongyuzhao <zhao.hongyu@zte.com.cn>
-rw-r--r-- | lcm/lcm/pub/utils/notificationsutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/lcm/pub/utils/notificationsutil.py b/lcm/lcm/pub/utils/notificationsutil.py index 8a38fd62..6b7c791f 100644 --- a/lcm/lcm/pub/utils/notificationsutil.py +++ b/lcm/lcm/pub/utils/notificationsutil.py @@ -61,7 +61,7 @@ class NotificationsUtil(object): } callbackUri = subscription.callback_uri auth_info = json.loads(subscription.auth_info) - if auth_info["authType"] != const.OAUTH2_CLIENT_CREDENTIALS: + if const.BASIC in auth_info["authType"]: try: self.post_notification(callbackUri, auth_info, notification) except Exception as e: |