From 0e8d8eeaca829da760b5dde643fe1f0bda524ca9 Mon Sep 17 00:00:00 2001 From: ajay priyadarshi Date: Fri, 23 Feb 2018 12:18:12 +0530 Subject: Logging correction in DriverResource sfc/resources/DriverResource.java file name: DriverResource.java Change-Id: Iff9a3bc8b1d1e1d82ca70e2a4215f039b236c2d7 Issue-ID: VFC-774 Signed-off-by: ajay priyadarshi --- .../src/main/java/org/onap/sfc/resources/DriverResource.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/resources/DriverResource.java b/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/resources/DriverResource.java index 0c75e31..6b5a038 100644 --- a/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/resources/DriverResource.java +++ b/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/resources/DriverResource.java @@ -62,7 +62,7 @@ public class DriverResource { public Result createPortPair(PortPairReq4N portPairReq4N) throws Exception { if (portPairReq4N == null) { - throw new NotFoundException("SdnControllerInfo is null"); + throw new NotFoundException("portPairReq4N is null"); } LOGGER.info(SfcDriverUtil.toJson(portPairReq4N)); PortPairReq4S portPairReq = N2sReqWrapper.convertPortPair(portPairReq4N); @@ -86,7 +86,7 @@ public class DriverResource { public Result createPortPairGroup(PortPairGroupReq4N portPairGroupReq4N) throws Exception { if (portPairGroupReq4N == null) { - throw new NotFoundException("SdnControllerInfo is null"); + throw new NotFoundException("portPairGroupReq4N is null"); } LOGGER.info(SfcDriverUtil.toJson(portPairGroupReq4N)); PortPairGroupReq4S portPairGroupReq4S = N2sReqWrapper.convertPortPairGroup(portPairGroupReq4N); -- cgit 1.2.3-korg