diff options
author | Ezhilarasi <ezhrajam@in.ibm.com> | 2018-09-05 18:02:28 +0530 |
---|---|---|
committer | ezhil <ezhrajam@in.ibm.com> | 2018-09-05 19:11:17 +0530 |
commit | b23f225e5aef8707267fcd2d45ff43b519b7ce0d (patch) | |
tree | 0e7300e872a85a0c13faf67de4bbda63dd88722a /adapters/mso-openstack-adapters/src/main/java/org/onap | |
parent | 81296f148b4b80cd2d0f33d555a46e3f3abf0d71 (diff) |
Fixed Logger message in MsoNetworkAdapterAsyncImpl
Message string in the logger method has been replaced with the constant predefined already.
Issue-ID: SO-976
Change-Id: I67f3da5d50ac582883249eb2ea221580a1b12576
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
Diffstat (limited to 'adapters/mso-openstack-adapters/src/main/java/org/onap')
-rw-r--r-- | adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/MsoNetworkAdapterAsyncImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/MsoNetworkAdapterAsyncImpl.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/MsoNetworkAdapterAsyncImpl.java index 500b0b32e3..de8aedcc47 100644 --- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/MsoNetworkAdapterAsyncImpl.java +++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/MsoNetworkAdapterAsyncImpl.java @@ -362,7 +362,7 @@ public class MsoNetworkAdapterAsyncImpl implements MsoNetworkAdapterAsync { MsoLogger.setServiceName (serviceName); } catch (NetworkException e) { MsoLogger.setServiceName (serviceName); - LOGGER.debug ("Got a NetworkException on createNetwork: ", e); + LOGGER.debug (NETWORK_EXCEPTION_MSG, e); MsoExceptionCategory exCat = null; String eMsg = null; try { @@ -449,7 +449,7 @@ public class MsoNetworkAdapterAsyncImpl implements MsoNetworkAdapterAsync { MsoLogger.setServiceName (serviceName); } catch (NetworkException e) { MsoLogger.setServiceName (serviceName); - LOGGER.debug ("Got a NetworkException on createNetwork: ", e); + LOGGER.debug (NETWORK_EXCEPTION_MSG, e); MsoExceptionCategory exCat = null; String eMsg = null; try { |