From: ajay priyadarshi Date: Fri, 23 Feb 2018 06:48:12 +0000 (+0530) Subject: Logging correction in DriverResource X-Git-Tag: v1.1.0~9 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=vfc%2Fnfvo%2Fdriver%2Fsfc.git;a=commitdiff_plain;h=0e8d8eeaca829da760b5dde643fe1f0bda524ca9 Logging correction in DriverResource sfc/resources/DriverResource.java file name: DriverResource.java Change-Id: Iff9a3bc8b1d1e1d82ca70e2a4215f039b236c2d7 Issue-ID: VFC-774 Signed-off-by: ajay priyadarshi --- 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);